/[gentoo-x86]/net-misc/netkit-timed/netkit-timed-0.17-r9.ebuild
Gentoo

Contents of /net-misc/netkit-timed/netkit-timed-0.17-r9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Tue Jul 31 04:23:47 2012 UTC (7 years, 4 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +2 -2 lines
Stable ppc64, bug #393757

(Portage version: 2.1.10.65/cvs/Linux x86_64)

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/netkit-timed/netkit-timed-0.17-r9.ebuild,v 1.7 2012/07/29 18:12:59 armin76 Exp $
4
5 EAPI="2"
6
7 inherit eutils flag-o-matic toolchain-funcs
8
9 IUSE=""
10 DESCRIPTION="Netkit - timed"
11 SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz"
12 HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
13 KEYWORDS="amd64 ~mips ppc ppc64 sparc x86"
14 LICENSE="BSD GPL-2"
15 SLOT="0"
16
17 DEPEND=""
18 RDEPEND=""
19
20 src_prepare() {
21 epatch "${FILESDIR}"/0.17-CFLAG-DEF-fix.patch
22 epatch "${FILESDIR}"/0.17-timed-opt-parsing.patch
23 sed -i configure \
24 -e '/^LDFLAGS=/d' \
25 || die "sed configure"
26 }
27
28 src_configure() {
29 # Note this is not an autoconf configure script. econf fails
30 append-flags -DCLK_TCK=CLOCKS_PER_SEC
31 ./configure --prefix=/usr --with-c-compiler=$(tc-getCC) || die "bad configure"
32 }
33
34 src_install() {
35 dosbin timed/timed/timed || die
36 doman timed/timed/timed.8 || die
37 dosbin timed/timedc/timedc || die
38 doman timed/timedc/timedc.8 || die
39 dodoc README ChangeLog BUGS || die
40
41 newinitd "${FILESDIR}"/timed.rc6 timed || die
42 }

  ViewVC Help
Powered by ViewVC 1.1.20