wok-next view rox-filer/receipt @ rev 20726
python: remove previously added '--without-ensurepip' (it made an opposite action)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 28 15:07:14 2018 +0300 (2018-05-28) |
parents | 24582c87ebcc |
children | 7506b35e1c6f |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://roscidus.com/desktop/"
11 WGET_URL="http://downloads.sourceforge.net/rox/$TARBALL"
12 TAGS="file-manager"
14 DEPENDS="gtk+ libglade libxml2 xorg-libXdamage shared-mime-info xorg-libSM"
15 BUILD_DEPENDS="libglade-dev libxml2-dev gtk+-dev shared-mime-info-dev \
16 xorg-libSM-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
22 echo "compile"
23 # If missing dep compile will block on a read.
24 echo -e "\t" | $src/ROX-Filer/AppRun --compile
25 echo "mkdir"
26 mkdir $DESTDIR
27 cp $src/ROX-Filer/ROX-Filer $DESTDIR/rox-filer
28 cp $src/ROX-Filer/.DirIcon $DESTDIR/
30 mkdir $DESTDIR/Messages
31 for locale in de es fr it
32 do
33 cp -r $src/ROX-Filer/Messages/$locale $DESTDIR/Messages
34 done
36 cp -r $src/ROX-Filer/images $DESTDIR/
38 mkdir $DESTDIR/Help
39 cp $src/ROX-Filer/Help/*.html $DESTDIR/Help/
40 cp $src/ROX-Filer/style.css $DESTDIR/
42 cp $src/ROX-Filer/Options.xml $DESTDIR/
43 cp $src/ROX-Filer/Templates.glade $DESTDIR/
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 $install/* $fs/usr/share/rox-filer/
51 cp $install/.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 }