wok-next annotate xorg-libpciaccess/receipt @ rev 9235
Up: icedtea6-jdk to 1.9.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 12 02:58:57 2011 +0000 (2011-03-12) |
parents | 07ae722ec64e |
children | e5ae411e1d8c |
rev | line source |
---|---|
pankso@3011 | 1 # SliTaz package receipt. |
pankso@3011 | 2 |
pankso@3011 | 3 PACKAGE="xorg-libpciaccess" |
slaxemulator@8408 | 4 VERSION="0.12.1" |
pankso@3011 | 5 CATEGORY="x-window" |
pankso@3011 | 6 SHORT_DESC="Xorg server module." |
pankso@3011 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3011 | 8 SOURCE="libpciaccess" |
gokhlayeh@6993 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@3011 | 10 WEB_SITE="http://www.x.org/" |
pankso@3011 | 11 WGET_URL="ftp://ftp.solnet.ch/mirror/x.org/pub/individual/lib/$TARBALL" |
pankso@3011 | 12 |
pankso@3011 | 13 # Rules to configure and make the package. |
pankso@3011 | 14 compile_rules() |
pankso@3011 | 15 { |
pankso@3011 | 16 cd $src |
pankso@3011 | 17 ./configure \ |
pankso@3011 | 18 --prefix=/usr --sysconfdir=/etc \ |
pankso@3011 | 19 --mandir=/usr/share/man --localstatedir=/var \ |
pankso@3011 | 20 $CONFIGURE_ARGS |
pankso@3011 | 21 make |
pankso@3011 | 22 make DESTDIR=$PWD/_pkg install |
pankso@3011 | 23 } |
pankso@3011 | 24 |
pankso@3011 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3011 | 26 genpkg_rules() |
pankso@3011 | 27 { |
pankso@3011 | 28 mkdir -p $fs/usr/lib |
pankso@3011 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@3011 | 30 strip -s $fs/usr/lib/* |
pankso@3011 | 31 } |