wok view idesk/receipt @ rev 17302

fish: add deps, bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 31 09:13:15 2014 +0100 (2014-10-31)
parents de49f29b101e
children ba7cbdb5749c
line source
1 # SliTaz package receipt.
3 PACKAGE="idesk"
4 VERSION="0.7.5"
5 CATEGORY="x-window"
6 SHORT_DESC="IDesk gives users icons on their desktop."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://idesk.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="imlib2 xorg-libXft"
15 BUILD_DEPENDS="imlib2-dev xorg-libXft-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch -p 0 < $stuff/DesktopConfig.patch || exit 1
21 ./configure \
22 --enable-xft \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/idesk $fs/usr/share
33 rm -f \
34 $fs/usr/share/idesk/*.xpm \
35 $fs/usr/share/idesk/*.lnk \
36 $fs/usr/share/idesk/README
37 # Custom default.lnk with Home icon
38 cp -f $stuff/default.lnk $fs/usr/share/idesk
39 }