wok-6.x view idesk/receipt @ rev 15690

dpkg,debootstrap: Fix missing mkdir command
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 08:14:41 2013 +0100 (2013-12-21)
parents c9e8883ba8f4
children fd7c7b825eb9
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"
13 DEPENDS="imlib2 xorg-libXft"
14 BUILD_DEPENDS="imlib2-dev xorg-libXft-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 }