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