summaryrefslogtreecommitdiffstats
path: root/abs/core/pciutils
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/pciutils
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/pciutils')
-rw-r--r--abs/core/pciutils/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/pciutils/PKGBUILD b/abs/core/pciutils/PKGBUILD
new file mode 100644
index 0000000..9820582
--- /dev/null
+++ b/abs/core/pciutils/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 7903 2008-08-05 06:38:41Z tpowa $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+pkgname=pciutils
+pkgver=3.0.0
+pkgrel=11
+pkgdesc="PCI bus configuration space access library and tools"
+arch=(i686 x86_64)
+license=('GPL2')
+groups=('base')
+url="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html"
+makedepends=('wget')
+depends=('glibc')
+source=(ftp://ftp.kernel.org/pub/software/utils/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ CFLAGS="${CFLAGS} -fPIC -DPIC"
+ sed -i -e 's/^OPT=.*/OPT=-O2 -pipe -fPIC -DPIC/g' Makefile
+ ./update-pciids.sh
+
+ make ZLIB=no PREFIX=/usr SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all || return 1
+ make PREFIX=${startdir}/pkg/usr SHAREDIR=${startdir}/pkg/usr/share/hwdata MANDIR=${startdir}/pkg/usr/share/man install
+ install -d ${startdir}/pkg/usr/lib
+ install -m644 lib/libpci.a ${startdir}/pkg/usr/lib
+ for i in config.h header.h pci.h types.h; do
+ install -D -m 644 lib/${i} ${startdir}/pkg/usr/include/pci/${i}
+ done
+}
+md5sums=('85b5dae042217cf11bca10d52210a78d')