wok-6.x view rox-filer/receipt @ rev 11785
Down gnumeric (0.8.16) 0.8.17 references gtk+-3. Removed unrecognized option from goffice
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Feb 24 10:18:11 2012 -0800 (2012-02-24) |
parents | 65309b24902c |
children | 1ae5963f23df |
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 shared-mime-info xorg-libSM"
14 BUILD_DEPENDS="libglade-dev libxml2-dev gtk+-dev shared-mime-info-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 # If missing dep compile will block on a read.
25 echo -e "\t" | $src/ROX-Filer/AppRun --compile
26 echo "mkdir"
27 mkdir $src/_pkg
28 cp $src/ROX-Filer/ROX-Filer $src/_pkg/rox-filer
29 cp $src/ROX-Filer/.DirIcon $src/_pkg/
31 mkdir $src/_pkg/Messages
32 for locale in de es fr it
33 do
34 cp -r $src/ROX-Filer/Messages/$locale $src/_pkg/Messages
35 done
37 cp -r $src/ROX-Filer/images $src/_pkg/
39 mkdir $src/_pkg/Help
40 cp $src/ROX-Filer/Help/*.html $src/_pkg/Help/
41 cp $src/ROX-Filer/style.css $src/_pkg/
43 cp $src/ROX-Filer/Options.xml $src/_pkg/
44 cp $src/ROX-Filer/Templates.glade $src/_pkg/
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/share/rox-filer
51 cp -r $_pkg/* $fs/usr/share/rox-filer/
52 cp $_pkg/.DirIcon $fs/usr/share/rox-filer/
54 mkdir -p $fs/usr/bin
55 cp -r $stuff/rox-filer $fs/usr/bin/
56 ICI=$(pwd)
57 cd $fs/usr/bin/
58 ln -s rox-filer rox
59 cd $ICI
61 mkdir -p $fs/usr/lib/openbox
62 cp $stuff/rox-open-folder-menu.sh $fs/usr/lib/openbox/
64 strip -s $fs/usr/share/rox-filer/rox-filer
65 }
67 # Post install commands for Tazpkg.
68 # Check /usr/share/icons/ROX
69 post_install()
70 {
71 if [ -e $1/usr/share/icons/ROX ]; then
72 echo ""
73 echo "/usr/share/icons/ROX exists"
74 else
75 echo ""
76 echo "/usr/share/icons/ROX doesn't exists"
77 echo -n "linking /usr/share/icons/ROX to /usr/share/icons/Tango"
78 ln -s /usr/share/icons/Tango $1/usr/share/icons/ROX
79 status
80 fi
81 }