aboutsummaryrefslogtreecommitdiffstats
path: root/main/pciutils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/pciutils/APKBUILD')
-rw-r--r--main/pciutils/APKBUILD6
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