diff options
Diffstat (limited to 'sys-fs/udev/udev-005-r1.ebuild')
-rw-r--r-- | sys-fs/udev/udev-005-r1.ebuild | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/sys-fs/udev/udev-005-r1.ebuild b/sys-fs/udev/udev-005-r1.ebuild deleted file mode 100644 index 3c5760874e1a..000000000000 --- a/sys-fs/udev/udev-005-r1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-005-r1.ebuild,v 1.1 2003/11/07 21:44:07 azarah Exp $ - -DESCRIPTION="udev - Linux dynamic device naming support (aka userspace devfs)" -HOMEPAGE="http://www.kernel.org/" -SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" - -DEPEND="virtual/glibc - >=sys-apps/hotplug-20030805-r1 - >=sys-fs/sysfsutils-0.3.0" - -src_unpack() { - unpack ${A} - - cd ${S} - # No need to clutter the logs ... - sed -ie '/^DEBUG/ c\DEBUG = false' Makefile - # Do not use optimization flags from the package - sed -ie 's|$(OPTIMIZATION)||g' Makefile - - # Make sure we do not build included libsysfs, but link to - # one in sysfsutils ... - rm -rf ${S}/libsysfs - cp -Rd ${ROOT}/usr/include/sysfs ${S}/libsysfs -} - -src_compile() { - # Do not work with emake - make udevdir="/dev/" \ - ARCH_LIB_OBJS="-lsysfs" \ - SYSFS="" || die -} - -src_install() { - into / - dosbin udev - - insinto /etc/udev - doins udev.config -# doins ${FILESDIR}/namedev.permissions - doins udev.permissions - - dodir /etc/hotplug.d/default - dosym ../../../sbin/udev /etc/hotplug.d/default/udev.hotplug - - doman udev.8 - - dodoc COPYING ChangeLog FAQ README TODO - dodoc docs/{overview,udev-OLS2003.pdf} -} - -pkg_postinst() { - # There changed names ... - if [ -f "${ROOT}/etc/udev/namedev.config" -a \ - ! -f "${ROOT}/etc/udev/udev.config" ] - then - mv -f ${ROOT}/etc/udev/namedev.config \ - ${ROOT}/etc/udev/udev.config - fi - if [ -f "${ROOT}/etc/udev/namedev.permissions" -a \ - ! -f "${ROOT}/etc/udev/udev.permissions" ] - then - mv -f ${ROOT}/etc/udev/namedev.permissions \ - ${ROOT}/etc/udev/udev.permissions - fi -} - |