wok-next annotate xarchiver/receipt @ rev 20930

pyaudio -> python-pyaudio
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 23 07:07:52 2018 +0300 (2018-08-23)
parents 10df65db91ad
children f48456621a9d
rev   line source
al@19896 1 # SliTaz package receipt v2.
erjo@4156 2
erjo@4156 3 PACKAGE="xarchiver"
al@20905 4 VERSION="0.5.4.13"
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@20905 9 #WEB_SITE="https://wiki.lxde.org/en/Xarchiver"
al@20905 10 WEB_SITE="https://github.com/ib/xarchiver"
al@19896 11
al@20905 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20905 13 WGET_URL="https://github.com/ib/xarchiver/archive/$VERSION.tar.gz"
erjo@4156 14
al@20905 15 BUILD_DEPENDS="gtk+-dev intltool libxslt"
al@20905 16 COOKOPTS="skip-log-errors"
pascal@15579 17
al@19896 18 compile_rules() {
al@20604 19 ./configure $CONFIGURE_ARGS &&
al@20604 20 fix libtool &&
al@20604 21 make &&
al@20905 22 make install || return 1
al@19896 23
al@20905 24 install -Dm644 $stuff/xarchiver.cgi $install/var/www/cgi-bin/xarchiver.cgi
al@20905 25 install -Dm644 $stuff/index.html $install/usr/share/doc/xarchiver/html/index.html
al@19896 26
al@19896 27 sed -i 's|multipart/x-zip;||; /Exec/s/.*/& %f/' \
al@19896 28 $install/usr/share/applications/xarchiver.desktop
erjo@4156 29 }
erjo@4156 30
al@19896 31 genpkg_rules() {
al@20604 32 copy @std @ico
al@20905 33 rm -r $fs/usr/share/pixmaps/
al@20905 34 DEPENDS="gdk-pixbuf glib gtk+"
al@19896 35 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
al@19896 36 # gtar is absent
al@19896 37 SUGGESTED="arj binutils bzip2 cpio gzip lha lzma lzop p7zip-full rar xz zip"
erjo@4156 38 }