udev: improve installation.
--HG-- extra : convert_revision : f9cef829e004e9bad48c2660596c29425370a705
This commit is contained in:
parent
0f4c3a385a
commit
ca40133cbe
|
@ -6,8 +6,8 @@ wrksrc="udev-$udev_distver"
|
|||
distfiles="
|
||||
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-${udev_distver}.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--without-selinux"
|
||||
make_install_args="sbindir=$XBPS_DESTDIR/$pkgname-$version/sbin"
|
||||
configure_args="--exec-prefix= --without-selinux --mandir=/usr/share/man"
|
||||
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install"
|
||||
short_desc="A userspace implementation of devfs"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=acbb5e7d322253ed242f28fbc1974bd34a4da7c29275e17cd5b32b38b2a5c849
|
||||
|
@ -15,15 +15,4 @@ long_desc="
|
|||
udev is a implementation of devfs in userspace using sysfs and
|
||||
/sbin/hotplug. It requires a 2.5/2.6 kernel to run properly."
|
||||
|
||||
base_package=yes
|
||||
run_depends="glibc-2.8"
|
||||
|
||||
post_install()
|
||||
{
|
||||
# Move udev rules and libs into /lib.
|
||||
local destdir=$XBPS_DESTDIR/$pkgname-$version
|
||||
|
||||
mkdir -p $destdir/lib
|
||||
mv $destdir/usr/lib/udev $destdir/lib/udev
|
||||
mv $destdir/usr/lib/lib* $destdir/lib/
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue