pciutils: build shared libraries additionally, FS#898
This commit is contained in:
parent
a0241a802c
commit
7df2f6fbb3
@ -7,6 +7,9 @@ drwxr-xr-x root/root usr/include/pci/
|
|||||||
-rw-r--r-- root/root usr/include/pci/types.h
|
-rw-r--r-- root/root usr/include/pci/types.h
|
||||||
drwxr-xr-x root/root usr/lib/
|
drwxr-xr-x root/root usr/lib/
|
||||||
-rw-r--r-- root/root usr/lib/libpci.a
|
-rw-r--r-- root/root usr/lib/libpci.a
|
||||||
|
lrwxrwxrwx root/root usr/lib/libpci.so -> libpci.so.3
|
||||||
|
lrwxrwxrwx root/root usr/lib/libpci.so.3 -> libpci.so.3.1.10
|
||||||
|
-rw-r--r-- root/root usr/lib/libpci.so.3.1.10
|
||||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||||
-rw-r--r-- root/root usr/lib/pkgconfig/libpci.pc
|
-rw-r--r-- root/root usr/lib/pkgconfig/libpci.pc
|
||||||
drwxr-xr-x root/root usr/man/
|
drwxr-xr-x root/root usr/man/
|
||||||
|
@ -4,11 +4,15 @@
|
|||||||
|
|
||||||
name=pciutils
|
name=pciutils
|
||||||
version=3.1.10
|
version=3.1.10
|
||||||
release=1
|
release=2
|
||||||
source=(ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$name-$version.tar.gz)
|
source=(ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
make OPT="$CFLAGS" PREFIX=/usr ZLIB=no
|
|
||||||
make DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man install install-lib
|
local CONF="ZLIB=no DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man"
|
||||||
|
|
||||||
|
make $CONF OPT="$CFLAGS" SHARED=yes install install-lib
|
||||||
|
make clean
|
||||||
|
make $CONF OPT="$CFLAGS" SHARED=no install install-lib
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user