mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=pciutils
|
|
pkgver=3.13.0
|
|
pkgrel=1
|
|
pkgdesc="PCI bus configuration space access library and tools"
|
|
url="http://mj.ucw.cz/pciutils.html"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
depends="hwdata-pci"
|
|
makedepends="linux-headers"
|
|
options="!check"
|
|
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pciutils/pciutils/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
make OPT="$CFLAGS -fPIC -flto=auto" ZLIB=no \
|
|
SHARED=yes \
|
|
PREFIX=/usr \
|
|
SHAREDIR=/usr/share/hwdata \
|
|
MANDIR=/usr/share/man \
|
|
all
|
|
}
|
|
|
|
package() {
|
|
make PREFIX="$pkgdir"/usr \
|
|
SHARED=yes \
|
|
SHAREDIR="$pkgdir"/usr/share/hwdata \
|
|
MANDIR="$pkgdir"/usr/share/man \
|
|
install install-lib
|
|
|
|
# this is now supplied by the hwids package
|
|
rm -rf "$pkgdir"/usr/sbin/update-pciids
|
|
rm -rf "$pkgdir"/usr/share/man/man8/update-pciids.8
|
|
rm -rf "$pkgdir"/usr/share/hwdata
|
|
}
|
|
|
|
sha512sums="
|
|
e1d39502d312d74f6663ee6c3dc976c08f1859b7ec3dc9553aa9925111c59287d2b9085bf94e674c8062e0ee6a1153af7533aba09e342a1369d083d48c2da4f7 pciutils-3.13.0.tar.gz
|
|
"
|