#!/bin/bash # # Maintainer: Deposite Pirate source /usr/src/ports/Build/build.sh NAME=pci VERSION=$(date '+%Y%m%d') BUILD=1 DEPENDS=('kmod >= 12-1') # Description cat > ${PKG}/install/slack-desc < ${PKG}${SYS_DIR[share]}/hwdata/pci.ids.gz } SRCNAME[2]=libpciaccess SRCVERS[2]=0.13.1 SRCPACK[2]=http://xorg.freedesktop.org/archive/individual/lib/${SRCNAME[2]}-${SRCVERS[2]}.tar.bz2 build2() { sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ ./configure \ --build="${ARCH}-slackware-linux" \ --disable-dependency-tracking \ --disable-silent-rules \ --enable-static=no \ --enable-shared=yes \ --prefix="${SYS_DIR[usr]}" \ --mandir="${SYS_DIR[man]}" \ --sysconfdir="${SYS_DIR[etc]}" \ --libdir="${SYS_DIR[lib]}" \ --localstatedir="${SYS_DIR[var]}" \ --with-pciids-path="${SYS_DIR[share]}/hwdata" \ --with-zlib make ${JOBS} make install DESTDIR="${PKG}" doc AUTHORS changelog ChangeLog license COPYING }