wok annotate xorg-xcursorgen/receipt @ rev 15949
compton: avoid source tarball collisions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 12:17:31 2014 +0000 (2014-02-23) |
parents | c514cc4854d8 |
children | f20bb2aafa21 |
rev | line source |
---|---|
pankso@262 | 1 # SliTaz package receipt. |
pankso@262 | 2 |
pankso@262 | 3 PACKAGE="xorg-xcursorgen" |
gokhlayeh@6993 | 4 VERSION="1.0.4" |
pankso@262 | 5 CATEGORY="x-window" |
pankso@262 | 6 SHORT_DESC="X cursor generator." |
pankso@262 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pankso@262 | 9 SOURCE="xcursorgen" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@262 | 11 WEB_SITE="http://www.x.org/" |
pankso@262 | 12 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@262 | 13 |
pascal@15579 | 14 DEPENDS="xorg-libX11 xorg-libXcursor libpng" |
pascal@15579 | 15 BUILD_DEPENDS="xorg-libX11-dev xorg-libXcursor-dev libpng-dev" |
pascal@15579 | 16 |
pankso@262 | 17 # Rules to configure and make the package. |
pankso@262 | 18 compile_rules() |
pankso@262 | 19 { |
pankso@262 | 20 cd $src |
pankso@262 | 21 ./configure \ |
pankso@262 | 22 --prefix=/usr \ |
pankso@262 | 23 --mandir=/usr/share/man \ |
pascal@2416 | 24 $CONFIGURE_ARGS && |
pascal@2416 | 25 make && |
pascal@15579 | 26 make DESTDIR=$DESTDIR install |
pankso@262 | 27 } |
pankso@262 | 28 |
pankso@262 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@262 | 30 genpkg_rules() |
pankso@262 | 31 { |
pankso@262 | 32 mkdir -p $fs/usr |
pascal@15579 | 33 cp -a $install/usr/bin $fs/usr |
pankso@262 | 34 } |