gudev: improve dir installation and cleanup
This commit is contained in:
parent
d6319ecb02
commit
e86474a128
@ -1,6 +1,3 @@
|
||||
drwxr-xr-x root/root lib/
|
||||
lrwxrwxrwx root/root lib/libgudev-1.0.so.0 -> libgudev-1.0.so.0.1.1
|
||||
-rwxr-xr-x root/root lib/libgudev-1.0.so.0.1.1
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/gudev-1.0/
|
||||
@ -15,6 +12,8 @@ drwxr-xr-x root/root usr/include/gudev-1.0/gudev/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libgudev-1.0.a
|
||||
-rwxr-xr-x root/root usr/lib/libgudev-1.0.la
|
||||
lrwxrwxrwx root/root usr/lib/libgudev-1.0.so -> ../../lib/libgudev-1.0.so.0.1.1
|
||||
lrwxrwxrwx root/root usr/lib/libgudev-1.0.so -> libgudev-1.0.so.0.1.1
|
||||
lrwxrwxrwx root/root usr/lib/libgudev-1.0.so.0 -> libgudev-1.0.so.0.1.1
|
||||
-rwxr-xr-x root/root usr/lib/libgudev-1.0.so.0.1.1
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/gudev-1.0.pc
|
||||
|
@ -7,28 +7,27 @@
|
||||
|
||||
name=gudev
|
||||
version=182
|
||||
release=1
|
||||
release=2
|
||||
source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd udev-$version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sbindir=/sbin \
|
||||
--sysconfdir=/etc \
|
||||
--with-rootlibdir=/lib \
|
||||
--libexecdir=/lib/udev \
|
||||
--libexecdir=/usr/lib \
|
||||
--mandir=/usr/man \
|
||||
--enable-extras \
|
||||
--enable-gudev \
|
||||
--disable-introspection \
|
||||
--enable-static
|
||||
--disable-udev_acl \
|
||||
--disable-keymap \
|
||||
--enable-static \
|
||||
--disable-rule_generator
|
||||
|
||||
make
|
||||
make install DESTDIR=$SRC/tmp
|
||||
|
||||
install -d $PKG/{lib,usr/{include,lib/pkgconfig}}
|
||||
install -d -m 0755 $PKG/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/$name-1.0.pc $PKG/usr/lib/pkgconfig
|
||||
mv $SRC/tmp/usr/lib/pkgconfig/$name* $PKG/usr/lib/pkgconfig
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user