wok-next annotate xarchiver/receipt @ rev 19981

Add libvdpau
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 18 09:58:12 2017 +0300 (2017-10-18)
parents 60bd4df08f57
children 10df65db91ad
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@19896 17 ./configure $CONFIGURE_ARGS && make && make install
al@19896 18
al@19896 19 mkdir -p $install/var/www/cgi-bin $install/usr/share/doc/xarchiver/html
al@19896 20 cp $stuff/xarchiver.cgi $install/var/www/cgi-bin
al@19896 21 cp $stuff/index.html $install/usr/share/doc/xarchiver/html
al@19896 22
al@19896 23 sed -i 's|multipart/x-zip;||; /Exec/s/.*/& %f/' \
al@19896 24 $install/usr/share/applications/xarchiver.desktop
erjo@4156 25 }
erjo@4156 26
al@19896 27 genpkg_rules() {
al@19896 28 copy @std
al@19896 29 rm -r $fs/usr/share/icons; cook_copy_icons
al@19896 30 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango"
al@19896 31 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
al@19896 32 # gtar is absent
al@19896 33 SUGGESTED="arj binutils bzip2 cpio gzip lha lzma lzop p7zip-full rar xz zip"
erjo@4156 34 }