diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-31 14:11:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-03 07:09:57 +0000 |
commit | 69e0d8be40255e8d5dc2ae0976765fb18397a344 (patch) | |
tree | 2ec27c9fd155bb4507c1bc079d2a54af6cff33ad /main/pciutils | |
parent | 4c0c74de031eaf6e4bea2a9cb335df36fdbcb3da (diff) | |
download | aports-69e0d8be40255e8d5dc2ae0976765fb18397a344.tar.bz2 aports-69e0d8be40255e8d5dc2ae0976765fb18397a344.tar.xz |
main/pciutils: add libpci.so symlink
Diffstat (limited to 'main/pciutils')
-rw-r--r-- | main/pciutils/APKBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/main/pciutils/APKBUILD b/main/pciutils/APKBUILD index dd2b54337e..89449693bb 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=3 +pkgrel=4 pkgdesc="PCI bus configuration space access library and tools" url="http://mj.ucw.cz/pciutils.html" arch="all" @@ -47,10 +47,12 @@ package() { install install -d "$pkgdir"/usr/lib - install -m644 lib/libpci.a "$pkgdir"/usr/lib - install -D -m 644 lib/libpci.pc "$pkgdir"/usr/lib/pkgconfig/libpci.pc + ln -s libpci.so.${pkgver%%.*} "$pkgdir"/usr/lib/libpci.so || return 1 + install -D -m 644 lib/libpci.pc "$pkgdir"/usr/lib/pkgconfig/libpci.pc \ + || return 1 for i in config.h header.h pci.h types.h; do - install -D -m 644 lib/${i} "$pkgdir"/usr/include/pci/${i} + install -D -m 644 lib/${i} "$pkgdir"/usr/include/pci/${i} \ + || return 1 done } |