wok-next view rox-filer/receipt @ rev 21360
guacamole: inserted fix libtool
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 13 06:41:39 2020 +0100 (2020-04-13) |
parents | ad449ad4a1a5 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="rox-filer"
4 VERSION="2.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="Simple graphical file manager"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://rox.sourceforge.net/desktop/ROX-Filer"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/rox/$TARBALL"
14 BUILD_DEPENDS="libglade-dev libxml2-dev gtk2-dev shared-mime-info-dev \
15 libsm-dev symlinks"
16 SPLIT="$PACKAGE-default-icons $PACKAGE-locales $PACKAGE"
18 compile_rules() {
19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
21 # it wants to "Press Return" on error, emulate it with "echo"
22 echo | ./ROX-Filer/AppRun --compile || return 1
24 install -Dm755 $stuff/rox-filer $install/usr/bin/rox-filer
25 ln -s rox-filer $install/usr/bin/rox
26 install -Dm755 $stuff/menu.sh $install/usr/lib/openbox/rox-open-folder-menu.sh
28 dir="$install/usr/share/rox-filer"
29 mkdir -p $dir/Help
31 # Executable
32 install -Dm755 ROX-Filer/ROX-Filer $dir
34 # Help
35 cp ROX-Filer/Help/*.html $dir/Help/
36 cp ROX-Filer/style.css $dir/
38 # Icons
39 mkdir -p $install/usr/share/icons/
40 cp -r ROX-Filer/ROX/ $install/usr/share/icons/
41 chown -R 0:0 $install/usr/share/icons/
42 find $install/usr/share/icons/ -type f -exec chmod 644 '{}' \;
43 $stuff/symdup.sh # symlink duplicated icons
45 # Misc
46 cp ROX-Filer/.DirIcon $dir/
47 cp ROX-Filer/Options.xml $dir/
48 cp ROX-Filer/Templates.ui $dir/
49 cp -r ROX-Filer/images/ $dir/
51 # Translations
52 mkdir -p $install/usr/share/locale/
53 cp -r ROX-Filer/Messages/* $install/usr/share/locale/
54 rm $install/usr/share/locale/README
55 ln -s ../locale $dir/Messages
57 cook_pick_manpages rox.1
58 }
60 genpkg_rules() {
61 case $PACKAGE in
62 *-default-icons)
63 copy icons/
64 DEPENDS="rox-filer"
65 CAT="misc|default icons"
66 DEPENDS="rox-filer"
67 ;;
68 *-locales)
69 copy *.mo Messages
70 CAT="localization|locales"
71 DEPENDS="rox-filer"
72 ;;
73 *)
74 copy @std @rm
75 DEPENDS="gdk-pixbuf glib gtk2 libglade libxml2 pango libice \
76 libsm libx11 shared-mime-info"
77 SUGGESTED="rox-filer-default-icons rox-filer-locales"
78 TAGS="file-manager"
79 ;;
80 esac
81 }