wok-stable annotate rox-filer/receipt @ rev 1070

Add: grisbi, an another bank manager, fix: missing icon for Homebank and deps for Inkscape
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jul 15 23:12:44 2008 +0200 (2008-07-15)
parents
children 10710b8535bc
rev   line source
sygne@998 1 # SliTaz package receipt.
sygne@998 2
sygne@998 3 PACKAGE="rox-filer"
sygne@998 4 VERSION="2.8"
sygne@998 5 CATEGORY="system-tools"
sygne@998 6 SHORT_DESC="user friendly filer."
sygne@998 7 MAINTAINER="sygne@ombres.eu"
sygne@998 8 DEPENDS="gtk+"
sygne@998 9 BUILD_DEPENDS="libglade-dev libxml2-dev gtk+-dev slitaz-dev-pkgs"
sygne@998 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
sygne@998 11 WEB_SITE="http://roscidus.com/desktop/"
sygne@998 12 WGET_URL="http://downloads.sourceforge.net/rox/$TARBALL"
sygne@998 13
sygne@998 14 # Rules to configure and make the package.
sygne@998 15 compile_rules()
sygne@998 16 {
sygne@998 17 echo "patch"
sygne@998 18 patch $src/ROX-Filer/src/menu.c stuff/menu.diff
sygne@998 19 echo "compile"
sygne@998 20 $src/ROX-Filer/AppRun --compile
sygne@998 21 echo "mkdir"
sygne@998 22 mkdir $src/_pkg
sygne@998 23 cp $src/ROX-Filer/ROX-Filer $src/_pkg/rox-filer
sygne@998 24 cp $src/ROX-Filer/.DirIcon $src/_pkg/
sygne@998 25
sygne@998 26 mkdir $src/_pkg/Messages
sygne@998 27 for locale in de es fr it
sygne@998 28 do
sygne@998 29 cp -r $src/ROX-Filer/Messages/$locale $src/_pkg/Messages
sygne@998 30 done
sygne@998 31
sygne@998 32 cp -r $src/ROX-Filer/images $src/_pkg/
sygne@998 33
sygne@998 34 mkdir $src/_pkg/Help
sygne@998 35 cp $src/ROX-Filer/Help/*.html $src/_pkg/Help/
sygne@998 36 cp $src/ROX-Filer/style.css $src/_pkg/
sygne@998 37
sygne@998 38 cp $src/ROX-Filer/Options.xml $src/_pkg/
sygne@998 39 cp $src/ROX-Filer/Templates.glade $src/_pkg/
sygne@998 40 }
sygne@998 41
sygne@998 42 # Rules to gen a SliTaz package suitable for Tazpkg.
sygne@998 43 genpkg_rules()
sygne@998 44 {
sygne@998 45 mkdir -p $fs/usr/share/rox-filer
sygne@998 46 cp -r $_pkg/* $fs/usr/share/rox-filer/
sygne@998 47 cp $_pkg/.DirIcon $fs/usr/share/rox-filer/
sygne@998 48
sygne@998 49 mkdir -p $fs/usr/bin
sygne@998 50 cp -r stuff/rox-filer $fs/usr/bin/
sygne@998 51 ICI=$(pwd)
sygne@998 52 cd $fs/usr/bin/
sygne@998 53 ln -s rox-filer rox
sygne@998 54 cd $ICI
sygne@998 55
sygne@998 56 mkdir -p $fs/usr/lib/openbox
sygne@998 57 cp stuff/rox-open-folder-menu.sh $fs/usr/lib/openbox/
sygne@998 58
sygne@998 59 strip -s $fs/usr/share/rox-filer/rox-filer
sygne@998 60 }
sygne@998 61
sygne@998 62 # Post install commands for Tazpkg.
sygne@998 63 # Check /usr/share/icons/ROX
sygne@998 64 post_install()
sygne@998 65 {
sygne@998 66 . /etc/init.d/rc.functions
sygne@998 67
sygne@998 68 if [ -e /usr/share/icons/ROX ]; then
sygne@998 69 echo ""
sygne@998 70 echo "/usr/share/icons/ROX exists"
sygne@998 71 else
sygne@998 72 echo ""
sygne@998 73 echo "/usr/share/icons/ROX doesn't exists"
sygne@998 74 echo -n "linking /usr/share/icons/ROX to /usr/share/icons/Tango"
sygne@998 75 ln -s /usr/share/icons/Tango /usr/share/icons/ROX
sygne@998 76 status
sygne@998 77 fi
sygne@998 78 }