wok annotate xorg-damageproto/receipt @ rev 2506
newt: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 12:31:37 2009 +0000 (2009-03-16) |
parents | da39ce2eb72c |
children | 4954382e5d74 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-damageproto" |
pankso@87 | 4 VERSION="1.1.0" |
pankso@200 | 5 CATEGORY="development" |
pankso@87 | 6 SHORT_DESC="Xorg server protocol." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@87 | 8 DEPENDS="xorg" |
pankso@87 | 9 SOURCE="damageproto" |
pankso@87 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@87 | 11 WEB_SITE="http://www.x.org/" |
pankso@87 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@87 | 13 |
pankso@87 | 14 # Rules to configure and make the package. |
pankso@87 | 15 compile_rules() |
pankso@87 | 16 { |
pankso@87 | 17 cd $src |
pankso@87 | 18 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@87 | 19 --mandir=/usr/share/man --localstatedir=/var \ |
pankso@87 | 20 $CONFIGURE_ARGS |
pankso@87 | 21 make |
pankso@87 | 22 make DESTDIR=$PWD/_pkg install |
pankso@87 | 23 } |
pankso@87 | 24 |
pankso@87 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 26 genpkg_rules() |
pankso@87 | 27 { |
pankso@87 | 28 cp -a $_pkg/* $fs |
pankso@87 | 29 } |
pankso@87 | 30 |