wok annotate xorg-imake/receipt @ rev 15146
cocoalib: create Makefile_dependencies (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 12:56:59 2013 +0000 (2013-08-15) |
parents | 07ae722ec64e |
children | eb8067417980 |
rev | line source |
---|---|
pascal@355 | 1 # SliTaz package receipt. |
pascal@355 | 2 |
pascal@355 | 3 PACKAGE="xorg-imake" |
gokhlayeh@6993 | 4 VERSION="1.0.3" |
pascal@355 | 5 CATEGORY="x-window" |
pascal@355 | 6 SHORT_DESC="X imake utility." |
pascal@355 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
slaxemulator@8273 | 8 DEPENDS="xorg-cf-files" |
slaxemulator@8273 | 9 BUILD_DEPENDS="xorg-gccmakedep xorg-makedepend pkg-config xorg-xproto perl" |
pascal@355 | 10 SOURCE="imake" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@355 | 12 WEB_SITE="http://www.x.org/" |
pascal@355 | 13 WGET_URL="$XORG_MIRROR/util/$TARBALL" |
pascal@355 | 14 |
pascal@355 | 15 # Rules to configure and make the package. |
pascal@355 | 16 compile_rules() |
pascal@355 | 17 { |
pascal@355 | 18 cd $src |
pascal@355 | 19 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@355 | 20 $CONFIGURE_ARGS |
pascal@355 | 21 make |
pascal@355 | 22 make DESTDIR=$PWD/_pkg install |
pascal@355 | 23 chmod +x $PWD/_pkg/usr/bin/* |
pascal@355 | 24 } |
pascal@355 | 25 |
pascal@355 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@355 | 27 genpkg_rules() |
pascal@355 | 28 { |
pascal@355 | 29 mkdir -p $fs/usr |
pascal@355 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@355 | 31 } |