wok-next annotate xorg-gccmakedep/receipt @ rev 13203
Up: bison (2.6.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Aug 06 13:44:38 2012 +0200 (2012-08-06) |
parents | 0109c31e8835 |
children | eb8067417980 |
rev | line source |
---|---|
pascal@3530 | 1 # SliTaz package receipt. |
pascal@3530 | 2 |
pascal@3530 | 3 PACKAGE="xorg-gccmakedep" |
pascal@3530 | 4 VERSION="1.0.2" |
pascal@3530 | 5 CATEGORY="x-window" |
pascal@3530 | 6 SHORT_DESC="X gccmakedep utility." |
pascal@3530 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3530 | 8 BUILD_DEPENDS="xorg-dev-proto" |
pascal@3530 | 9 SOURCE="gccmakedep" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@3530 | 11 WEB_SITE="http://www.x.org/" |
pascal@3530 | 12 WGET_URL="$XORG_MIRROR/util/$TARBALL" |
pascal@3530 | 13 |
pascal@3530 | 14 # Rules to configure and make the package. |
pascal@3530 | 15 compile_rules() |
pascal@3530 | 16 { |
pascal@3530 | 17 cd $src |
pascal@3530 | 18 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@3530 | 19 $CONFIGURE_ARGS |
pascal@3530 | 20 make |
pascal@3530 | 21 make DESTDIR=$PWD/_pkg install |
pascal@3530 | 22 chmod +x $PWD/_pkg/usr/bin/* |
pascal@3530 | 23 } |
pascal@3530 | 24 |
pascal@3530 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3530 | 26 genpkg_rules() |
pascal@3530 | 27 { |
pascal@3530 | 28 mkdir -p $fs/usr |
pascal@3530 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@3530 | 30 } |