wok-6.x annotate xorg-damageproto/receipt @ rev 14065
shaarli: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 20 12:48:01 2013 +0100 (2013-02-20) |
parents | 84b5867a1370 |
children | a09e9d64e4c9 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-damageproto" |
slaxemulator@7018 | 4 VERSION="1.2.1" |
pankso@200 | 5 CATEGORY="development" |
pankso@87 | 6 SHORT_DESC="Xorg server protocol." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-util-macros" |
gokhlayeh@7713 | 9 BUILD_DEPENDS="xorg-util-macros" |
pankso@87 | 10 SOURCE="damageproto" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@87 | 12 WEB_SITE="http://www.x.org/" |
pankso@87 | 13 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@87 | 14 |
pankso@87 | 15 # Rules to configure and make the package. |
pankso@87 | 16 compile_rules() |
pankso@87 | 17 { |
pankso@87 | 18 cd $src |
pankso@87 | 19 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@87 | 20 --mandir=/usr/share/man --localstatedir=/var \ |
pankso@87 | 21 $CONFIGURE_ARGS |
pankso@87 | 22 make |
pankso@87 | 23 make DESTDIR=$PWD/_pkg install |
pankso@87 | 24 } |
pankso@87 | 25 |
pankso@87 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 27 genpkg_rules() |
pankso@87 | 28 { |
pankso@87 | 29 cp -a $_pkg/* $fs |
pankso@87 | 30 } |
pankso@87 | 31 |