wok-stable view exo-tools/receipt @ rev 6054

exo: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 18 09:37:20 2010 +0200 (2010-08-18)
parents 4f09bc470f25
children 4221f6eea92d
line source
1 # SliTaz package receipt.
3 PACKAGE="exo-tools"
4 VERSION="0.3.107"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce extension tools"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libexo"
9 BUILD_DEPENDS=""
10 WANTED="exo"
11 SUGGESTED="perl-uri"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.xfce.org"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 src=$WOK/$WANTED/$WANTED-$VERSION
19 _pkg=$WOK/$WANTED/$WANTED-$VERSION/_pkg
21 mkdir -p $fs/usr/share/locale \
22 $fs/usr/share/xfce4 \
23 $fs/etc/xdg/xfce4
25 cp -a $_pkg/etc $fs/
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
28 cp -a $_pkg/usr/share/applications $fs/usr/share
29 cp -a $_pkg/usr/share/icons $fs/usr/share
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
31 cp -a $_pkg/usr/share/xfce4/helpers $fs/usr/share/xfce4
33 # Fix perms & helpers
34 chmod +x $fs/usr/bin/exo-preferred-applications
36 # Rebuild libexo package
37 tazwok cook libexo
39 }