diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-16 15:03:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-16 15:03:18 +0000 |
commit | cddbf13cfdf463498f1619cb11a6e665650b3563 (patch) | |
tree | 8d07ae51d45b520b0142f48db64bd32e6920c37a /main/pciutils/APKBUILD | |
parent | d42e76812d37aeb805ea7893a95fc7627b4fc4d9 (diff) | |
download | aports-cddbf13cfdf463498f1619cb11a6e665650b3563.tar.bz2 aports-cddbf13cfdf463498f1619cb11a6e665650b3563.tar.xz |
main/pciutils: build shared lib
Diffstat (limited to 'main/pciutils/APKBUILD')
-rw-r--r-- | main/pciutils/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/pciutils/APKBUILD b/main/pciutils/APKBUILD index 0cbdc8c9af..dd2b54337e 100644 --- a/main/pciutils/APKBUILD +++ b/main/pciutils/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=pciutils pkgver=3.2.1 -pkgrel=2 +pkgrel=3 pkgdesc="PCI bus configuration space access library and tools" url="http://mj.ucw.cz/pciutils.html" arch="all" @@ -10,7 +10,7 @@ license="GPL" depends="hwdata-pci" makedepends= install= -subpackages="$pkgname-doc $pkgname-dev" +subpackages="$pkgname-doc $pkgname-dev $pkgname-libs" source="http://www.kernel.org/pub/software/utils/$pkgname/$pkgname-$pkgver.tar.gz fix-linking-pci-malloc-Makefile.patch fix-headers.patch" @@ -31,6 +31,7 @@ build() { cd "$_builddir" sed -i -e "106s/^/\#/" Makefile make ZLIB=no \ + SHARED=yes \ PREFIX=/usr \ SHAREDIR=/usr/share/hwdata \ MANDIR=/usr/share/man \ @@ -40,6 +41,7 @@ build() { package() { cd "$_builddir" make PREFIX="$pkgdir"/usr \ + SHARED=yes \ SHAREDIR="$pkgdir"/usr/share/hwdata \ MANDIR="$pkgdir"/usr/share/man \ install |