From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- base/pci/pci.build | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100755 base/pci/pci.build (limited to 'base/pci/pci.build') diff --git a/base/pci/pci.build b/base/pci/pci.build new file mode 100755 index 0000000..da01109 --- /dev/null +++ b/base/pci/pci.build @@ -0,0 +1,104 @@ +#!/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 +} -- cgit v1.2.3-70-g09d2