wok-4.x annotate xorg-xproto/receipt @ rev 1060
slitaz-base-files: add repack_cleanup in receipt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 15 15:17:39 2008 +0000 (2008-07-15) |
parents | 6ef8236e6db5 |
children | 637e958c066c |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-xproto" |
pankso@20 | 4 VERSION="7.0.10" |
pankso@200 | 5 CATEGORY="development" |
pankso@20 | 6 SHORT_DESC="Xorg server module." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@20 | 8 DEPENDS="xorg" |
pankso@20 | 9 SOURCE="xproto" |
pankso@20 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@20 | 11 WEB_SITE="http://www.x.org/" |
pankso@20 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@20 | 13 |
pankso@20 | 14 # Rules to configure and make the package. |
pankso@20 | 15 compile_rules() |
pankso@20 | 16 { |
pankso@20 | 17 cd $src |
pankso@20 | 18 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@20 | 19 --mandir=/usr/share/man --localstatedir=/var \ |
pankso@20 | 20 $CONFIGURE_ARGS |
pankso@20 | 21 make |
pankso@20 | 22 make DESTDIR=$PWD/_pkg install |
pankso@20 | 23 } |
pankso@20 | 24 |
pankso@20 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 26 genpkg_rules() |
pankso@20 | 27 { |
pankso@20 | 28 cp -a $_pkg/* $fs |
pankso@20 | 29 } |
pankso@20 | 30 |