wok annotate xorg-imake/receipt @ rev 5375
Up: grub2 (1.98)
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 01 01:49:05 2010 +0000 (2010-05-01) |
parents | |
children | 07ae722ec64e |
rev | line source |
---|---|
pascal@355 | 1 # SliTaz package receipt. |
pascal@355 | 2 |
pascal@355 | 3 PACKAGE="xorg-imake" |
pascal@355 | 4 VERSION="1.0.2" |
pascal@355 | 5 CATEGORY="x-window" |
pascal@355 | 6 SHORT_DESC="X imake utility." |
pascal@355 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@355 | 8 BUILD_DEPENDS="xorg-dev-proto" |
pascal@355 | 9 SOURCE="imake" |
pascal@355 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@355 | 11 WEB_SITE="http://www.x.org/" |
pascal@355 | 12 WGET_URL="$XORG_MIRROR/util/$TARBALL" |
pascal@355 | 13 |
pascal@355 | 14 # Rules to configure and make the package. |
pascal@355 | 15 compile_rules() |
pascal@355 | 16 { |
pascal@355 | 17 cd $src |
pascal@355 | 18 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@355 | 19 $CONFIGURE_ARGS |
pascal@355 | 20 make |
pascal@355 | 21 make DESTDIR=$PWD/_pkg install |
pascal@355 | 22 chmod +x $PWD/_pkg/usr/bin/* |
pascal@355 | 23 } |
pascal@355 | 24 |
pascal@355 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@355 | 26 genpkg_rules() |
pascal@355 | 27 { |
pascal@355 | 28 mkdir -p $fs/usr |
pascal@355 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@355 | 30 } |