wok-next view xarchiver/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | e7a485521d6a |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xarchiver"
4 VERSION="0.5.4.13"
5 CATEGORY="x-window"
6 SHORT_DESC="A GTK+ lightweight archive manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 #WEB_SITE="https://wiki.lxde.org/en/Xarchiver"
10 WEB_SITE="https://github.com/ib/xarchiver"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/ib/xarchiver/archive/$VERSION.tar.gz"
15 BUILD_DEPENDS="gtk2-dev intltool libxslt"
16 COOKOPTS="skip-log-errors"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install || return 1
24 install -Dm644 $stuff/xarchiver.cgi $install/var/www/cgi-bin/xarchiver.cgi
25 install -Dm644 $stuff/index.html $install/usr/share/doc/xarchiver/html/index.html
27 sed -i 's|multipart/x-zip;||; /Exec/s/.*/& %f/' \
28 $install/usr/share/applications/xarchiver.desktop
29 }
31 genpkg_rules() {
32 copy @std @ico
33 rm -r $fs/usr/share/pixmaps/
34 DEPENDS="gdk-pixbuf glib gtk2"
35 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
36 # gtar is absent
37 SUGGESTED="arj binutils bzip2 cpio gzip lha lzma lzop p7zip-full rar xz zip"
38 }