wok annotate xorg-libpciaccess/receipt @ rev 10763
hatenarunner: mkdir $src
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 31 12:16:34 2011 +0200 (2011-05-31) |
parents | b45d2ebe4222 |
children | d845a5a99df7 |
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 } |