2011-11-02 13:42:22 +01:00
|
|
|
# Template file for 'libudev'
|
2011-06-28 16:55:47 +02:00
|
|
|
pkgname=libgudev
|
2011-11-02 13:42:22 +01:00
|
|
|
version=174
|
|
|
|
revision=1
|
|
|
|
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"
|
|
|
|
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"
|
|
|
|
checksum=832662179a5ff9782769b0feadd51aaaea6e603f91f6ef0ec8bb6aab0fb3ad1a
|
2011-06-28 16:55:47 +02:00
|
|
|
long_desc="
|
2011-11-02 13:42:22 +01: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 16:55:47 +02:00
|
|
|
|
2011-11-02 13:42:22 +01:00
|
|
|
subpackages="${pkgname}-devel"
|
2011-06-28 16:55:47 +02:00
|
|
|
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run glib
|
2011-11-02 13:42:22 +01:00
|
|
|
Add_dependency run libudev
|
2011-06-28 16:55:47 +02:00
|
|
|
|
2011-11-02 13:42:22 +01:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build gperf
|
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build gobject-introspection
|
2011-06-28 16:55:47 +02:00
|
|
|
|
2011-11-02 13:42:22 +01:00
|
|
|
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
|
2011-06-28 16:55:47 +02:00
|
|
|
}
|