2011-11-02 12:42:22 +00:00
|
|
|
# Template file for 'libudev'
|
2011-06-28 14:55:47 +00:00
|
|
|
pkgname=libgudev
|
2012-03-19 09:09:06 +00:00
|
|
|
version=182
|
2011-11-02 12:42:22 +00:00
|
|
|
wrksrc=udev-${version}
|
2012-01-12 09:44:35 +00:00
|
|
|
distfiles="${KERNEL_SITE}/utils/kernel/hotplug/udev-${version}.tar.xz"
|
2011-11-02 12:42:22 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--without-selinux --disable-rule-generator
|
|
|
|
--enable-introspection --enable-gudev --disable-static
|
2012-01-13 09:25:38 +00:00
|
|
|
--disable-keymap --disable-mtd_probe"
|
2011-11-02 12:42:22 +00:00
|
|
|
short_desc="GObject-based wrapper library for libudev"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
|
|
|
|
license="GPL-2"
|
2012-03-19 09:09:06 +00:00
|
|
|
checksum=adb8892f3b8e4b7163703ed4a545774721a3d55a1062de001f08c477c03d97ab
|
2011-06-28 14:55:47 +00:00
|
|
|
long_desc="
|
2011-11-02 12:42:22 +00:00
|
|
|
This library makes it much simpler to use libudev from programs already using
|
|
|
|
GObject. It also makes it possible to easily use libudev from other
|
|
|
|
programming languages, such as Javascript, because of GObject introspection
|
|
|
|
support."
|
2011-06-28 14:55:47 +00:00
|
|
|
|
2011-11-02 12:42:22 +00:00
|
|
|
subpackages="${pkgname}-devel"
|
2011-06-28 14:55:47 +00:00
|
|
|
|
2011-11-02 12:42:22 +00:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build gperf
|
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build gobject-introspection
|
2012-01-13 09:25:38 +00:00
|
|
|
Add_dependency build libblkid-devel
|
|
|
|
Add_dependency build libkmod-devel
|
|
|
|
Add_dependency build usbutils
|
|
|
|
Add_dependency build pciutils
|
2011-06-28 14:55:47 +00:00
|
|
|
|
2011-11-02 12:42:22 +00:00
|
|
|
post_install() {
|
|
|
|
# remove stuff in udev pkg.
|
|
|
|
for f in etc sbin usr/sbin lib usr/libexec usr/share/man \
|
2012-01-13 09:25:38 +00:00
|
|
|
usr/share/pkgconfig usr/share/gtk-doc/html/libudev \
|
|
|
|
usr/bin; do
|
2011-11-02 12:42:22 +00:00
|
|
|
rm -rf ${DESTDIR}/${f}
|
|
|
|
done
|
|
|
|
find ${DESTDIR} -name libudev\* -delete
|
2011-06-28 14:55:47 +00:00
|
|
|
}
|