wok-6.x annotate idesk/receipt @ rev 18343
Up: bash (4.3.42)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Fri Sep 11 11:59:50 2015 +0000 (2015-09-11) |
parents | de49f29b101e |
children | ba7cbdb5749c |
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@16334 | 12 HOST_ARCH="i486 arm" |
pankso@10836 | 13 |
pankso@10836 | 14 DEPENDS="imlib2 xorg-libXft" |
pankso@10836 | 15 BUILD_DEPENDS="imlib2-dev xorg-libXft-dev" |
pankso@10836 | 16 |
pankso@10836 | 17 # Rules to configure and make the package. |
pankso@10836 | 18 compile_rules() |
pankso@10836 | 19 { |
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 } |