wok-next view xarchiver/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 60bd4df08f57 |
children | 10df65db91ad |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xarchiver"
4 VERSION="0.5.4"
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"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/xarchiver/$VERSION/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev intltool"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS && make && make install
19 mkdir -p $install/var/www/cgi-bin $install/usr/share/doc/xarchiver/html
20 cp $stuff/xarchiver.cgi $install/var/www/cgi-bin
21 cp $stuff/index.html $install/usr/share/doc/xarchiver/html
23 sed -i 's|multipart/x-zip;||; /Exec/s/.*/& %f/' \
24 $install/usr/share/applications/xarchiver.desktop
25 }
27 genpkg_rules() {
28 copy @std
29 rm -r $fs/usr/share/icons; cook_copy_icons
30 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango"
31 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
32 # gtar is absent
33 SUGGESTED="arj binutils bzip2 cpio gzip lha lzma lzop p7zip-full rar xz zip"
34 }