From e54c4cb2498131370fd6cbbd761228fdf6850ed2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 26 Nov 2008 10:56:51 +0100 Subject: [PATCH] udev: update to 133 and install rules into correct dir. --HG-- extra : convert_revision : be8a1e11bc2e194950694b077be96c59d0a93b1d --- templates/udev.tmpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/udev.tmpl b/templates/udev.tmpl index a34579a3021..fff9369e71d 100644 --- a/templates/udev.tmpl +++ b/templates/udev.tmpl @@ -1,15 +1,15 @@ # Template file for 'udev' pkgname=udev -version=1.30 -wrksrc="udev-130" +version=1.33 +wrksrc="udev-133" distfiles=" -http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-130.tar.bz2" +http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-133.tar.bz2" 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 " -checksum=bbb64eb268ebc3d7c3bad74774daa2ed0ef887956ae6fb8f6f80717a7c957478 +checksum=fe4785fe93e27be05ded15414e3f590b0cbc309400f9cc461a27d20c042f62a8 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." @@ -20,9 +20,9 @@ run_depends="glibc-2.8" post_install() { # Move udev rules and libs into /lib. - mkdir -p $XBPS_DESTDIR/$pkgname-$version/lib/udev - mv $XBPS_DESTDIR/$pkgname-$version/usr/lib/udev \ - $XBPS_DESTDIR/$pkgname-$version/lib/udev - mv $XBPS_DESTDIR/$pkgname-$version/usr/lib/lib* \ - $XBPS_DESTDIR/$pkgname-$version/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/ }