void-packages/srcpkgs/libgudev/template

39 lines
1.3 KiB
Plaintext
Raw Normal View History

# Template file for 'libudev'
pkgname=libgudev
2011-11-08 07:33:07 +01:00
version=175
wrksrc=udev-${version}
#distfiles="${KERNEL_SITE}/utils/kernel/hotplug/udev-${version}.tar.bz2"
distfiles="http://people.freedesktop.org/~kay/udev-${version}.tar.bz2"
build_style=gnu-configure
configure_args="--without-selinux --disable-rule-generator
--enable-introspection --enable-gudev --disable-static
--disable-hwdb --disable-keymap --disable-mtd_probe"
revision=1
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"
2011-11-08 07:33:07 +01:00
checksum=4c7937fe5a1521316ea571188745b9a00a9fdf314228cffc53a7ba9e5968b7ab
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
post_install() {
# remove stuff in udev pkg.
for f in etc sbin usr/sbin lib usr/libexec usr/share/man \
usr/share/pkgconfig usr/share/gtk-doc/html/libudev; do
rm -rf ${DESTDIR}/${f}
done
find ${DESTDIR} -name libudev\* -delete
}