summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-14 18:24:19 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-14 18:24:19 +0000
commit0244fd4cbdbe728ad218589264c6274e7daef86f (patch)
treea6631aad9bfa34095f5225bdd734170b7d552461 /net-misc/clockspeed
parentrename patch (diff)
downloadhistorical-0244fd4cbdbe728ad218589264c6274e7daef86f.tar.gz
historical-0244fd4cbdbe728ad218589264c6274e7daef86f.tar.bz2
historical-0244fd4cbdbe728ad218589264c6274e7daef86f.zip
touchups
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'net-misc/clockspeed')
-rw-r--r--net-misc/clockspeed/clockspeed-0.62-r3.ebuild26
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