wok-next annotate xorg-gccmakedep/receipt @ rev 5377
Up: cmake (2.8.1)
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 01 02:44:28 2010 +0000 (2010-05-01) |
parents | |
children | 07ae722ec64e |
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" |
pascal@3530 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
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 } |