wok view rox-filer/receipt @ rev 10291
claws-mail-vcalendar: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 18:33:34 2011 +0000 (2011-05-21) |
parents | 8be66f03fbd2 |
children | 7bbb04ca403e |
line source
1 # SliTaz package receipt.
3 PACKAGE="rox-filer"
4 VERSION="2.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="user friendly filer."
7 MAINTAINER="sygne@ombres.eu"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://roscidus.com/desktop/"
10 WGET_URL="http://downloads.sourceforge.net/rox/$TARBALL"
11 TAGS="file-browser file-manager"
13 DEPENDS="gtk+ libglade libxml2 xorg-libXdamage"
14 BUILD_DEPENDS="libglade-dev libxml2-dev gtk+-dev shared-mime-info xorg-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 echo "patch"
20 [ -f done.menu.diff ] ||
21 patch $src/ROX-Filer/src/menu.c stuff/menu.diff
22 touch done.menu.diff
23 echo "compile"
24 $src/ROX-Filer/AppRun --compile
25 echo "mkdir"
26 mkdir $src/_pkg
27 cp $src/ROX-Filer/ROX-Filer $src/_pkg/rox-filer
28 cp $src/ROX-Filer/.DirIcon $src/_pkg/
30 mkdir $src/_pkg/Messages
31 for locale in de es fr it
32 do
33 cp -r $src/ROX-Filer/Messages/$locale $src/_pkg/Messages
34 done
36 cp -r $src/ROX-Filer/images $src/_pkg/
38 mkdir $src/_pkg/Help
39 cp $src/ROX-Filer/Help/*.html $src/_pkg/Help/
40 cp $src/ROX-Filer/style.css $src/_pkg/
42 cp $src/ROX-Filer/Options.xml $src/_pkg/
43 cp $src/ROX-Filer/Templates.glade $src/_pkg/
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/share/rox-filer
50 cp -r $_pkg/* $fs/usr/share/rox-filer/
51 cp $_pkg/.DirIcon $fs/usr/share/rox-filer/
53 mkdir -p $fs/usr/bin
54 cp -r $stuff/rox-filer $fs/usr/bin/
55 ICI=$(pwd)
56 cd $fs/usr/bin/
57 ln -s rox-filer rox
58 cd $ICI
60 mkdir -p $fs/usr/lib/openbox
61 cp $stuff/rox-open-folder-menu.sh $fs/usr/lib/openbox/
63 strip -s $fs/usr/share/rox-filer/rox-filer
64 }
66 # Post install commands for Tazpkg.
67 # Check /usr/share/icons/ROX
68 post_install()
69 {
70 if [ -e $1/usr/share/icons/ROX ]; then
71 echo ""
72 echo "/usr/share/icons/ROX exists"
73 else
74 echo ""
75 echo "/usr/share/icons/ROX doesn't exists"
76 echo -n "linking /usr/share/icons/ROX to /usr/share/icons/Tango"
77 ln -s /usr/share/icons/Tango $1/usr/share/icons/ROX
78 status
79 fi
80 }