wok-current annotate xorg-libXrandr/receipt @ rev 2050
up: flex (2.5.35)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 17 14:08:21 2009 +0100 (2009-01-17) |
parents | dc2dd4d7fffb |
children | 857621a8b6e4 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXrandr" |
pankso@20 | 4 VERSION="1.2.2" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="Xorg server module." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@20 | 8 SOURCE="libXrandr" |
pankso@20 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@20 | 10 WEB_SITE="http://www.x.org/" |
pankso@20 | 11 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@20 | 12 |
pankso@20 | 13 # Rules to configure and make the package. |
pankso@20 | 14 compile_rules() |
pankso@20 | 15 { |
pankso@20 | 16 cd $src |
pankso@20 | 17 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@20 | 18 --mandir=/usr/share/man --localstatedir=/var \ |
pankso@20 | 19 $CONFIGURE_ARGS |
pankso@20 | 20 make |
pankso@20 | 21 make DESTDIR=$PWD/_pkg install |
pankso@20 | 22 } |
pankso@20 | 23 |
pankso@20 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 25 genpkg_rules() |
pankso@20 | 26 { |
pankso@20 | 27 mkdir -p $fs/usr/lib |
pankso@20 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 29 strip -s $fs/usr/lib/* |
pankso@20 | 30 } |