35 lines
1004 B
Plaintext
35 lines
1004 B
Plaintext
# Description: Gobject interface for udev
|
|
# URL: http://gudev.sourceforge.net
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
# Packager: Jose V Beneyto, sepen at crux dot nu
|
|
# Depends on: udev glib
|
|
# Group: xfce4
|
|
|
|
name=gudev
|
|
version=173
|
|
release=1
|
|
source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd udev-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--sbindir=/sbin \
|
|
--sysconfdir=/etc \
|
|
--with-rootlibdir=/lib \
|
|
--libexecdir=/lib/udev \
|
|
--mandir=/usr/man \
|
|
--enable-extras \
|
|
--disable-introspection \
|
|
--enable-static
|
|
|
|
make
|
|
make install DESTDIR=$SRC/tmp
|
|
|
|
install -d $PKG/{lib,usr/{include,lib/pkgconfig}}
|
|
mv $SRC/tmp/usr/include/gudev* $PKG/usr/include
|
|
mv $SRC/tmp/lib/libgudev* $PKG/lib
|
|
mv $SRC/tmp/usr/lib/libgudev* $PKG/usr/lib
|
|
mv $SRC/tmp/usr/lib/pkgconfig/gudev-1.0.pc $PKG/usr/lib/pkgconfig
|
|
}
|