1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 inherit toolchain-funcs
11 DESCRIPTION="Network Date/Time Query and Set Local Date/Time Utility"
12 HOMEPAGE="http://www.ibiblio.org/pub/Linux/system/network/misc/"
13 SRC_URI="http://www.ibiblio.org/pub/Linux/system/network/misc/${MY_P}.tar.gz"
17 KEYWORDS="amd64 ~mips ppc x86"
20 S="${WORKDIR}/${MY_P}"
23 sed -i -e "/errno.h/ a\#include <string.h>" getdate.c || die
25 sed -i -e "/CFLAGS/d" Makefile || die
29 emake CC="$(tc-getCC)"
35 dodoc README getdate-cron