wok-next annotate 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
rev   line source
al@19896 1 # SliTaz package receipt v2.
erjo@4156 2
erjo@4156 3 PACKAGE="xarchiver"
pascal@17708 4 VERSION="0.5.4"
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"
al@19896 9 WEB_SITE="https://wiki.lxde.org/en/Xarchiver"
al@19896 10
erjo@4156 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@16774 12 WGET_URL="$SF_MIRROR/xarchiver/$VERSION/$TARBALL"
erjo@4156 13
al@19896 14 BUILD_DEPENDS="gtk+-dev intltool"
pascal@15579 15
al@19896 16 compile_rules() {
al@20604 17 ./configure $CONFIGURE_ARGS &&
al@20604 18 fix libtool &&
al@20604 19 make &&
al@20604 20 make install
al@19896 21
al@19896 22 mkdir -p $install/var/www/cgi-bin $install/usr/share/doc/xarchiver/html
al@19896 23 cp $stuff/xarchiver.cgi $install/var/www/cgi-bin
al@19896 24 cp $stuff/index.html $install/usr/share/doc/xarchiver/html
al@19896 25
al@19896 26 sed -i 's|multipart/x-zip;||; /Exec/s/.*/& %f/' \
al@19896 27 $install/usr/share/applications/xarchiver.desktop
erjo@4156 28 }
erjo@4156 29
al@19896 30 genpkg_rules() {
al@20604 31 copy @std @ico
al@19896 32 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango"
al@19896 33 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
al@19896 34 # gtar is absent
al@19896 35 SUGGESTED="arj binutils bzip2 cpio gzip lha lzma lzop p7zip-full rar xz zip"
erjo@4156 36 }