mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
pciutils: enable zlib/kmod support.
This commit is contained in:
parent
59cd15a1e4
commit
6126f8ed97
1 changed files with 9 additions and 8 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'pciutils'
|
# Template file for 'pciutils'
|
||||||
pkgname=pciutils
|
pkgname=pciutils
|
||||||
version=3.2.0
|
version=3.2.0
|
||||||
revision=1
|
revision=2
|
||||||
makedepends="hwids"
|
hostmakedepends="pkg-config which"
|
||||||
|
makedepends="hwids zlib-devel libkmod-devel"
|
||||||
short_desc="PCI bus related utilities"
|
short_desc="PCI bus related utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -14,13 +15,13 @@ long_desc="
|
||||||
setting devices connected to the PCI bus."
|
setting devices connected to the PCI bus."
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make OPT="${CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no AR=${AR} \
|
make OPT="${CFLAGS} -fPIC -DPIC" SHARED=no AR=${AR} \
|
||||||
RANLIB=${RANLIB} PREFIX=/usr CC="${CC}" \
|
RANLIB=${RANLIB} PREFIX=/usr CC=${CC} \
|
||||||
SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
|
SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
|
||||||
cp lib/libpci.a ${XBPS_MASTERDIR}/tmp
|
cp lib/libpci.a ${XBPS_MASTERDIR}/tmp
|
||||||
make clean
|
make clean
|
||||||
make OPT="${CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=yes \
|
make OPT="${CFLAGS} -fPIC -DPIC" SHARED=yes \
|
||||||
AR=${AR} RANLIB=${RANLIB} PREFIX=/usr CC="${CC}" \
|
AR=${AR} RANLIB=${RANLIB} PREFIX=/usr CC=${CC} \
|
||||||
SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
|
SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,8 +41,8 @@ do_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pciutils-devel_package() {
|
pciutils-devel_package() {
|
||||||
depends="pciutils>=$version"
|
depends="pciutils>=${version}_${revision}"
|
||||||
short_desc+=" -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
|
|
Loading…
Add table
Reference in a new issue