wok annotate xorg-makedepend/receipt @ rev 9243
Up: tar to 1.26.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 12 16:57:11 2011 +0000 (2011-03-12) |
parents | |
children | a09e9d64e4c9 |
rev | line source |
---|---|
gokhlayeh@8080 | 1 # SliTaz package receipt. |
gokhlayeh@8080 | 2 |
gokhlayeh@8080 | 3 PACKAGE="xorg-makedepend" |
gokhlayeh@8080 | 4 VERSION="1.0.3" |
gokhlayeh@8080 | 5 CATEGORY="x-window" |
gokhlayeh@8080 | 6 SHORT_DESC="X makedepend utility." |
gokhlayeh@8080 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@8080 | 8 BUILD_DEPENDS="xorg-xproto" |
gokhlayeh@8080 | 9 SOURCE="makedepend" |
gokhlayeh@8080 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
gokhlayeh@8080 | 11 WEB_SITE="http://www.x.org/" |
gokhlayeh@8080 | 12 WGET_URL="$XORG_MIRROR/util/$TARBALL" |
gokhlayeh@8080 | 13 |
gokhlayeh@8080 | 14 # Rules to configure and make the package. |
gokhlayeh@8080 | 15 compile_rules() |
gokhlayeh@8080 | 16 { |
gokhlayeh@8080 | 17 cd $src |
gokhlayeh@8080 | 18 ./configure --prefix=/usr --mandir=/usr/share/man \ |
gokhlayeh@8080 | 19 $CONFIGURE_ARGS |
gokhlayeh@8080 | 20 make |
gokhlayeh@8080 | 21 make DESTDIR=$PWD/_pkg install |
gokhlayeh@8080 | 22 chmod +x $PWD/_pkg/usr/bin/* |
gokhlayeh@8080 | 23 } |
gokhlayeh@8080 | 24 |
gokhlayeh@8080 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8080 | 26 genpkg_rules() |
gokhlayeh@8080 | 27 { |
gokhlayeh@8080 | 28 mkdir -p $fs/usr |
gokhlayeh@8080 | 29 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@8080 | 30 } |