wok-current annotate xarchiver/receipt @ rev 16774
xarchiver: add backends setting page (accessed via menu -> Help -> Contents (F1))
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 21 02:56:20 2014 +0300 (2014-06-21) |
parents | 40f65f328312 |
children | 432b40f0a85f |
rev | line source |
---|---|
erjo@4156 | 1 # SliTaz package receipt. |
erjo@4156 | 2 |
erjo@4156 | 3 PACKAGE="xarchiver" |
al@16771 | 4 VERSION="0.5.3" |
erjo@4156 | 5 CATEGORY="x-window" |
al@16771 | 6 SHORT_DESC="A GTK+ lightweight archive manager" |
erjo@4156 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
erjo@4156 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4156 | 10 WEB_SITE="http://xarchiver.sourceforge.net/" |
al@16774 | 11 WGET_URL="$SF_MIRROR/xarchiver/$VERSION/$TARBALL" |
erjo@4156 | 12 |
al@16774 | 13 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar; |
al@16774 | 14 # gtar is absent |
al@16774 | 15 SUGGESTED="arj bzip2 binutils gzip lzma xz lzop lha rar cpio zip p7zip-full" |
al@16771 | 16 DEPENDS="gtk+" |
pascal@15579 | 17 BUILD_DEPENDS="gtk+-dev" |
al@16774 | 18 GENERIC_PIXMAPS="no" |
pascal@15579 | 19 |
erjo@4156 | 20 # Rules to configure and make the package. |
erjo@4156 | 21 compile_rules() |
erjo@4156 | 22 { |
al@16771 | 23 patch -p0 < $stuff/xarchiver-0.5.3-icons.diff |
erjo@4156 | 24 ./configure \ |
erjo@4156 | 25 --prefix=/usr \ |
erjo@4877 | 26 --libexecdir=/usr/lib \ |
erjo@4156 | 27 $CONFIGURE_ARGS && |
pascal@15579 | 28 make && make DESTDIR=$DESTDIR install |
erjo@4156 | 29 } |
erjo@4156 | 30 |
erjo@4156 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4156 | 32 genpkg_rules() |
erjo@4156 | 33 { |
al@16771 | 34 mkdir -p $fs/usr/share |
pascal@15579 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 36 cp -a $install/usr/lib $fs/usr |
pascal@15579 | 37 cp -a $install/usr/share/applications $fs/usr/share |
pascal@15579 | 38 cp -a $install/usr/share/icons $fs/usr/share |
erjo@4713 | 39 rm -rf $fs/usr/share/icons/hicolor/scalable |
al@16771 | 40 |
al@16771 | 41 sed -i '/Encoding/d;/Version/d;/Name\[.*\]=Xarchiver/d;/GenericName/d;/Exec/s/.*/& %f/' \ |
al@16771 | 42 $fs/usr/share/applications/xarchiver.desktop |
al@16774 | 43 |
al@16774 | 44 mkdir -p $fs/var/www/cgi-bin $fs/usr/share/doc/xarchiver/html |
al@16774 | 45 cp -a $stuff/xarchiver.cgi $fs/var/www/cgi-bin |
al@16774 | 46 cp -a $stuff/index.html $fs/usr/share/doc/xarchiver/html |
erjo@4156 | 47 } |