2008-10-25 23:43:11 +00:00
|
|
|
# Template file for 'udev'
|
|
|
|
pkgname=udev
|
2008-12-09 23:18:45 +00:00
|
|
|
udev_distver="135"
|
|
|
|
version=1.35
|
|
|
|
wrksrc="udev-$udev_distver"
|
2008-10-25 23:43:11 +00:00
|
|
|
distfiles="
|
2008-12-09 23:18:45 +00:00
|
|
|
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-${udev_distver}.tar.bz2"
|
2008-10-25 23:43:11 +00:00
|
|
|
build_style=gnu_configure
|
|
|
|
configure_args="--without-selinux"
|
|
|
|
make_install_args="sbindir=$XBPS_DESTDIR/$pkgname-$version/sbin"
|
|
|
|
short_desc="A userspace implementation of devfs"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2008-12-09 23:18:45 +00:00
|
|
|
checksum=acbb5e7d322253ed242f28fbc1974bd34a4da7c29275e17cd5b32b38b2a5c849
|
2008-10-25 23:43:11 +00:00
|
|
|
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"
|
2008-10-27 05:12:30 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Move udev rules and libs into /lib.
|
2008-11-26 09:56:51 +00:00
|
|
|
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/
|
2008-10-27 05:12:30 +00:00
|
|
|
}
|