wok-4.x annotate xorg-xcursorgen/receipt @ rev 4839
mirror-tools: add --sources
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 28 16:26:39 2010 +0100 (2010-01-28) |
parents | a8e90ba27401 |
children | 07ae722ec64e |
rev | line source |
---|---|
pankso@262 | 1 # SliTaz package receipt. |
pankso@262 | 2 |
pankso@262 | 3 PACKAGE="xorg-xcursorgen" |
pankso@262 | 4 VERSION="1.0.2" |
pankso@262 | 5 CATEGORY="x-window" |
pankso@262 | 6 SHORT_DESC="X cursor generator." |
pankso@262 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2416 | 8 DEPENDS="xorg libpng zlib" |
pankso@262 | 9 SOURCE="xcursorgen" |
pankso@262 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@262 | 11 WEB_SITE="http://www.x.org/" |
pankso@262 | 12 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@262 | 13 |
pankso@262 | 14 # Rules to configure and make the package. |
pankso@262 | 15 compile_rules() |
pankso@262 | 16 { |
pankso@262 | 17 cd $src |
pankso@262 | 18 ./configure \ |
pankso@262 | 19 --prefix=/usr \ |
pankso@262 | 20 --mandir=/usr/share/man \ |
pascal@2416 | 21 $CONFIGURE_ARGS && |
pascal@2416 | 22 make && |
pankso@262 | 23 make DESTDIR=$PWD/_pkg install |
pankso@262 | 24 } |
pankso@262 | 25 |
pankso@262 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@262 | 27 genpkg_rules() |
pankso@262 | 28 { |
pankso@262 | 29 mkdir -p $fs/usr |
pankso@262 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@262 | 31 } |