29 lines
786 B
Plaintext
29 lines
786 B
Plaintext
![]() |
# Description: Gobject interface for udev.
|
||
|
# URL: http://gudev.sourceforge.net/
|
||
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
||
|
# Packager: Jose V Beneyto, sepen at crux dot nu
|
||
|
# Depends on: gobject-introspection gperf udev
|
||
|
|
||
|
name=gudev
|
||
|
version=182
|
||
|
release=1
|
||
|
source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-$version.tar.xz)
|
||
|
|
||
|
build() {
|
||
|
cd udev-$version
|
||
|
|
||
|
./configure \
|
||
|
--prefix=/usr \
|
||
|
--sysconfdir=/etc \
|
||
|
--mandir=/usr/man
|
||
|
|
||
|
make
|
||
|
make install DESTDIR=$SRC/tmp
|
||
|
|
||
|
install -d $PKG/{lib,usr/{include,lib/pkgconfig,share/gir-1.0}}
|
||
|
mv $SRC/tmp/usr/include/gudev* $PKG/usr/include
|
||
|
mv $SRC/tmp/usr/lib/libgudev* $PKG/usr/lib
|
||
|
mv $SRC/tmp/usr/lib/pkgconfig/$name-1.0.pc $PKG/usr/lib/pkgconfig
|
||
|
mv $SRC/tmp/usr/share/gir-1.0/* $PKG/usr/share/gir-1.0/
|
||
|
}
|