wok-current annotate xorg-libpciaccess/receipt @ rev 5294
Up: All Xorg lib (rel 7.5 and up)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 18 22:57:05 2010 +0200 (2010-04-18) |
parents | 6ca9048d039a |
children | 07ae722ec64e |
rev | line source |
---|---|
pankso@3011 | 1 # SliTaz package receipt. |
pankso@3011 | 2 |
pankso@3011 | 3 PACKAGE="xorg-libpciaccess" |
pankso@5294 | 4 VERSION="0.11.0" |
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" |
pankso@3011 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
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 } |