diff options
Diffstat (limited to 'sys-apps/devfsd/devfsd-1.3.11-r2.ebuild')
-rw-r--r-- | sys-apps/devfsd/devfsd-1.3.11-r2.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sys-apps/devfsd/devfsd-1.3.11-r2.ebuild b/sys-apps/devfsd/devfsd-1.3.11-r2.ebuild new file mode 100644 index 000000000000..a37d914f25df --- /dev/null +++ b/sys-apps/devfsd/devfsd-1.3.11-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Daniel Robbins et al <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/devfsd/devfsd-1.3.11-r2.ebuild,v 1.1 2001/08/05 22:58:06 pete Exp $ + +S=${WORKDIR}/${PN} +DESCRIPTION="Daemon for the Linux Device Filesystem" +SRC_URI="ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/devfsd-v${PV}.tar.gz" +HOMEPAGE="http://www.atnf.csiro.au/~rgooch/linux/" +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + patch -p0 < ${FILESDIR}/${P}-GNUmakefile-gentoo.diff +} + +src_compile() { + try make +} + +src_install () { + try make DESTDIR=${D} install + exeinto /etc/rc.d/init.d + doexe ${FILESDIR}/devfsd + dodir /etc/devfs/shm + dodir /dev-state + insinto /etc + doins ${FILESDIR}/devfsd.conf + if [ -z "`use bootcd`" ] + then + rm -rf ${D}/usr + fi +} + +pkg_postinst () { + rc-update add devfsd +} + |