diff options
author | Achim Gottinger <achim@gentoo.org> | 2000-11-15 16:49:06 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2000-11-15 16:49:06 +0000 |
commit | 3e50923281e6b182239e24593534317e68054dbb (patch) | |
tree | 99e8a12c38c4a098df75014bff9ff10b5a84d1d0 /net-misc/netkit-timed | |
parent | *** empty log message *** (diff) | |
download | historical-3e50923281e6b182239e24593534317e68054dbb.tar.gz historical-3e50923281e6b182239e24593534317e68054dbb.tar.bz2 historical-3e50923281e6b182239e24593534317e68054dbb.zip |
*** empty log message ***
Diffstat (limited to 'net-misc/netkit-timed')
-rw-r--r-- | net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild b/net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild new file mode 100644 index 000000000000..336bf982c34b --- /dev/null +++ b/net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild,v 1.1 2000/11/15 16:49:06 achim Exp $ + +P=netkit-timed-0.17 +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Netkit - timed" +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}" + +DEPEND=">=sys-apps/bash-2.04 + >=sys-libs/glibc-2.1.3" + +src_unpack() { + unpack ${A} + if [ -n "`use glibc22`" ] + then + cp ${FILESDIR}/timed.c ${S}/timed/timed/timed.c + fi +} + +src_compile() { + try ./configure + try make +} + +src_install() { + + into /usr + dosbin timed/timed/timed + doman timed/timed/timed.8 + dosbin timed/timedc/timedc + doman timed/timedc/timedc.8 + dodoc README ChangeLog BUGS + dodir /etc/rc.d/init.d + cp ${O}/files/timed ${D}/etc/rc.d/init.d/timed +} + +pkg_config() { + + . /etc/rc.d/config/functions + + echo "Generating symlinks..." + ${ROOT}/usr/sbin/rc-update add timed + +} + + |