wok-next view xarchiver/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | bd4c82b1d1de |
children | e7a485521d6a |
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 &&
18 fix libtool &&
19 make &&
20 make install
22 mkdir -p $install/var/www/cgi-bin $install/usr/share/doc/xarchiver/html
23 cp $stuff/xarchiver.cgi $install/var/www/cgi-bin
24 cp $stuff/index.html $install/usr/share/doc/xarchiver/html
26 sed -i 's|multipart/x-zip;||; /Exec/s/.*/& %f/' \
27 $install/usr/share/applications/xarchiver.desktop
28 }
30 genpkg_rules() {
31 copy @std @ico
32 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango"
33 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
34 # gtar is absent
35 SUGGESTED="arj binutils bzip2 cpio gzip lha lzma lzop p7zip-full rar xz zip"
36 }