/[gentoo-x86]/net-misc/getdate/getdate-1.2.ebuild
Gentoo

Contents of /net-misc/getdate/getdate-1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Tue Feb 26 04:01:58 2013 UTC (6 years, 6 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/getdate/getdate-1.2.ebuild,v 1.13 2012/12/08 22:04:41 ulm Exp $
4
5 inherit toolchain-funcs
6
7 MY_PN=${PN}_rfc868
8 MY_P=${MY_PN}-${PV}
9 S=${WORKDIR}/${MY_P}
10
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"
14
15 LICENSE="GPL-1+"
16 SLOT="0"
17 KEYWORDS="~amd64 ~mips ppc x86"
18 IUSE=""
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 sed -i -e "/errno.h/ a\#include <string.h>" getdate.c || die
24 }
25
26 src_compile() {
27 einfo $(tc-getCC) ${LDFLAGS} ${CFLAGS} -DHAVE_ADJTIME -o getdate getdate.c
28 $(tc-getCC) ${LDFLAGS} ${CFLAGS} -DHAVE_ADJTIME -o getdate getdate.c || die
29 }
30
31 src_install() {
32 dobin getdate || die
33 doman getdate.8 || die
34 dodoc README getdate-cron || die
35 }

  ViewVC Help
Powered by ViewVC 1.1.20