wok-next annotate idesk/receipt @ rev 16268
ARM: add libsexy libsndfile
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 20:04:34 2014 +0200 (2014-04-05) |
parents | c9e8883ba8f4 |
children | fd7c7b825eb9 |
rev | line source |
---|---|
pankso@10836 | 1 # SliTaz package receipt. |
pankso@10836 | 2 |
pankso@10836 | 3 PACKAGE="idesk" |
pankso@10836 | 4 VERSION="0.7.5" |
pankso@10836 | 5 CATEGORY="x-window" |
pankso@10836 | 6 SHORT_DESC="IDesk gives users icons on their desktop." |
pankso@10836 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15600 | 8 LICENSE="BSD" |
pankso@10836 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10836 | 10 WEB_SITE="http://idesk.sourceforge.net/" |
pankso@10836 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@10836 | 12 |
pankso@10836 | 13 DEPENDS="imlib2 xorg-libXft" |
pankso@10836 | 14 BUILD_DEPENDS="imlib2-dev xorg-libXft-dev" |
pankso@10836 | 15 |
pankso@10836 | 16 # Rules to configure and make the package. |
pankso@10836 | 17 compile_rules() |
pankso@10836 | 18 { |
pankso@10836 | 19 cd $src |
pankso@10836 | 20 patch -p 0 < $stuff/DesktopConfig.patch || exit 1 |
pankso@10836 | 21 ./configure \ |
pankso@10836 | 22 --enable-xft \ |
pankso@10836 | 23 $CONFIGURE_ARGS && |
pankso@10836 | 24 make && make DESTDIR=$DESTDIR install |
pankso@10836 | 25 } |
pankso@10836 | 26 |
pankso@10836 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10836 | 28 genpkg_rules() |
pankso@10836 | 29 { |
pankso@10836 | 30 mkdir -p $fs/usr/share |
pankso@10836 | 31 cp -a $install/usr/bin $fs/usr |
pankso@10836 | 32 cp -a $install/usr/share/idesk $fs/usr/share |
pankso@10836 | 33 rm -f \ |
pankso@10836 | 34 $fs/usr/share/idesk/*.xpm \ |
pankso@10836 | 35 $fs/usr/share/idesk/*.lnk \ |
pankso@10836 | 36 $fs/usr/share/idesk/README |
pankso@10836 | 37 # Custom default.lnk with Home icon |
pankso@10836 | 38 cp -f $stuff/default.lnk $fs/usr/share/idesk |
pankso@10836 | 39 } |