void-packages/srcpkgs/libgudev/template

41 lines
1.4 KiB
Text
Raw Normal View History

# Template file for 'libudev'
pkgname=libgudev
2012-01-24 23:54:41 +00:00
version=179
wrksrc=udev-${version}
distfiles="${KERNEL_SITE}/utils/kernel/hotplug/udev-${version}.tar.xz"
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"
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-01-24 23:54:41 +00:00
checksum=b65852dfd08146118ed5f318f9c5eca576ebabfedde44cecfbe4733c6fbc1a64
long_desc="
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."
subpackages="${pkgname}-devel"
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
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
rm -rf ${DESTDIR}/${f}
done
find ${DESTDIR} -name libudev\* -delete
}