diff options
-rw-r--r-- | main/udev/APKBUILD | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/main/udev/APKBUILD b/main/udev/APKBUILD index b2e44f3cd..548988f3c 100644 --- a/main/udev/APKBUILD +++ b/main/udev/APKBUILD @@ -1,12 +1,12 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=udev -pkgver=166 +pkgver=167 pkgrel=0 pkgdesc="The userspace dev tools (udev)" url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" arch="all" license="GPL" -subpackages="$pkgname-dev $pkgname-doc libgudev" +subpackages="$pkgname-dev $pkgname-doc libudev libgudev" depends= makedepends="gobject-introspection glib-dev gperf acl-dev libusb-compat-dev usbutils pciutils-dev libtool" @@ -45,13 +45,23 @@ package() { done } +libudev() { + pkgdesc="Dynamic library to access udev device information" + replaces="udev" + mkdir -p "$subpkgdir"/lib + mv "$pkgdir"/lib/libudev.so.* "$subpkgdir"/lib/ +} + libgudev() { pkgdesc="A GObject wrapper of the library gudev" - mkdir -p "$subpkgdir"/lib/ - mv "$pkgdir"/lib/libgudev* "$subpkgdir"/lib/ + mkdir -p "$subpkgdir"/lib/ \ + "$subpkgdir"/usr/lib || return 1 + mv "$pkgdir"/lib/libgudev* "$subpkgdir"/lib/ || return 1 + mv "$pkgdir"/usr/lib/girepository-* \ + "$subpkgdir"/usr/lib/ } -md5sums="4db27d73fdbe94f47fd89fdd105c2dfb udev-166.tar.bz2 +md5sums="4b37e1222f06c14c24147de346aa0bad udev-167.tar.bz2 c9de7581099cdfdcd105666cd98a0f0a write_root_link_rule 7bf11e11519117f743483c73e0767750 move_tmp_persistent_rules.sh 884d7faaaa149a323b14e907ea1934f4 udev-mount.initd |