wok annotate hsetroot/receipt @ rev 14604
Xorg marathon. Day 1. (Carefully check versions, (build-)depends, pretty-print receipts)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 31 00:58:07 2013 +0000 (2013-05-31) |
parents | 8ca23e8fc082 |
children | de49f29b101e |
rev | line source |
---|---|
pankso@358 | 1 # SliTaz package receipt. |
pankso@358 | 2 |
pankso@358 | 3 PACKAGE="hsetroot" |
pankso@358 | 4 VERSION="1.0.2" |
pankso@358 | 5 CATEGORY="x-window" |
pankso@358 | 6 SHORT_DESC="Tool to set desktop wallpaper." |
pankso@358 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2482 | 8 DEPENDS="imlib2 libpng freetype xorg-libX11 xorg-libXau xorg-libXdmcp \ |
pascal@2482 | 9 xorg-libXext" |
pankso@358 | 10 BUILD_DEPENDS="imlib2-dev libpng-dev" |
pankso@358 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@358 | 12 WEB_SITE="http://thegraveyard.org/hsetroot.php" |
pankso@358 | 13 WGET_URL="http://thegraveyard.org/files/$TARBALL" |
jozee@4937 | 14 TAGS="wallpaper" |
pankso@358 | 15 |
pankso@358 | 16 # Rules to configure and make the package. |
pankso@358 | 17 compile_rules() |
pankso@358 | 18 { |
pankso@358 | 19 cd $src |
pankso@358 | 20 ./configure \ |
pankso@358 | 21 --prefix=/usr \ |
pascal@2482 | 22 $CONFIGURE_ARGS && |
pascal@2482 | 23 make && |
pankso@358 | 24 make DESTDIR=$PWD/_pkg install |
pankso@358 | 25 } |
pankso@358 | 26 |
pankso@358 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@358 | 28 genpkg_rules() |
pankso@358 | 29 { |
pankso@358 | 30 mkdir -p $fs/usr |
pankso@358 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@358 | 32 } |