talimat 653 B

1234567891011121314151617181920212223242526272829
  1. # Description: PCI bus configuration space access library and tools
  2. # URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html
  3. # Packager: pierre at nutyx dot org
  4. name=pciutils
  5. version=3.4.1
  6. release=1
  7. source=( ftp://ftp.kernel.org/pub/software/utils/$name/$name-$version.tar.xz )
  8. build() {
  9. cd $name-$version
  10. make OPT="$CFLAGS -fPIC -DPIC" \
  11. ZLIB=no \
  12. PREFIX=/usr \
  13. SHAREDIR=/usr/share/misc \
  14. MANDIR=/usr/share/man \
  15. SHARED=yes all
  16. mkdir -p $PKG/usr/share/man
  17. mkdir -p $PKG/usr/lib
  18. make PREFIX=$PKG/usr \
  19. SHAREDIR=$PKG/usr/share/misc \
  20. MANDIR=$PKG/usr/share/man \
  21. SHARED=yes ZLIB=no \
  22. install install-lib
  23. chmod -v 755 $PKG/usr/lib/libpci.so.$version
  24. }