diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-14 18:24:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-14 18:24:19 +0000 |
commit | c03e3b966116a4b1f7c06ef32ae27a54d1e07b1a (patch) | |
tree | af6b8c2b9f1c6c7f5fdb37845ef872abd3d2b3eb /net-misc/clockspeed | |
parent | rename patch (diff) | |
download | gentoo-2-c03e3b966116a4b1f7c06ef32ae27a54d1e07b1a.tar.gz gentoo-2-c03e3b966116a4b1f7c06ef32ae27a54d1e07b1a.tar.bz2 gentoo-2-c03e3b966116a4b1f7c06ef32ae27a54d1e07b1a.zip |
touchups
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'net-misc/clockspeed')
-rw-r--r-- | net-misc/clockspeed/clockspeed-0.62-r3.ebuild | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/net-misc/clockspeed/clockspeed-0.62-r3.ebuild b/net-misc/clockspeed/clockspeed-0.62-r3.ebuild index 8392fb7ac046..0a74bfe28759 100644 --- a/net-misc/clockspeed/clockspeed-0.62-r3.ebuild +++ b/net-misc/clockspeed/clockspeed-0.62-r3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/clockspeed/clockspeed-0.62-r3.ebuild,v 1.9 2004/11/02 00:30:23 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/clockspeed/clockspeed-0.62-r3.ebuild,v 1.10 2005/05/14 18:24:19 vapier Exp $ -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="A simple Network Time Protocol (NTP) client" HOMEPAGE="http://cr.yp.to/clockspeed.html" @@ -10,7 +10,7 @@ SRC_URI="http://cr.yp.to/clockspeed/${P}.tar.gz" LICENSE="as-is" SLOT="0" -KEYWORDS="x86 -ppc -sparc ~amd64 ~mips" +KEYWORDS="~amd64 ~mips x86" IUSE="static selinux" DEPEND="sys-apps/groff" @@ -18,20 +18,16 @@ RDEPEND=" selinux? ( sec-policy/selinux-clockspeed )" src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PV}-gentoo.patch - sed -i "s:@CFLAGS@:${CFLAGS}:" conf-cc - use static && LDFLAGS="${LDFLAGS} -static" - sed -i "s:@LDFLAGS@:${LDFLAGS}:" conf-ld -} - -src_compile() { - emake || die + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.patch + echo "$(tc-getCC) ${CFLAGS} ${ASFLAGS}" > conf-cc + use static && append-ldflags -static + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld } src_install() { - dobin clockspeed clockadd clockview sntpclock taiclock taiclockd - dosbin ${FILESDIR}/ntpclockset + dobin clockspeed clockadd clockview sntpclock taiclock taiclockd || die "dobin" + dosbin "${FILESDIR}"/ntpclockset || die "dosbin" doman clockspeed.1 clockadd.1 clockview.1 sntpclock.1 taiclock.1 taiclockd.1 dodoc BLURB CHANGES INSTALL README THANKS TODO |