wok annotate xarchiver/receipt @ rev 21710

peazip: fix links
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 08 11:33:48 2019 +0200 (2019-06-08)
parents 7bb67a9e6b53
children a1677855824a
rev   line source
erjo@4156 1 # SliTaz package receipt.
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"
erjo@4156 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4156 10 WEB_SITE="http://xarchiver.sourceforge.net/"
al@16774 11 WGET_URL="$SF_MIRROR/xarchiver/$VERSION/$TARBALL"
erjo@4156 12
al@16774 13 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
al@16774 14 # gtar is absent
pascal@21710 15 RECOMMENDED="gzip lzma unzip"
pascal@21710 16 SUGGESTED="$RECOMMENDED arj bzip2 binutils xz lzop lha rar cpio zip p7zip-full"
pascal@21710 17 DEPENDS="gtk+ $RECOMMENDED"
pascal@15579 18 BUILD_DEPENDS="gtk+-dev"
al@16774 19 GENERIC_PIXMAPS="no"
al@18477 20 GENERIC_MENUS="no"
pascal@15579 21
erjo@4156 22 # Rules to configure and make the package.
erjo@4156 23 compile_rules()
erjo@4156 24 {
al@16771 25 patch -p0 < $stuff/xarchiver-0.5.3-icons.diff
erjo@4156 26 ./configure \
erjo@4156 27 --prefix=/usr \
erjo@4877 28 --libexecdir=/usr/lib \
erjo@4156 29 $CONFIGURE_ARGS &&
pascal@15579 30 make && make DESTDIR=$DESTDIR install
erjo@4156 31 }
erjo@4156 32
erjo@4156 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4156 34 genpkg_rules()
erjo@4156 35 {
al@16771 36 mkdir -p $fs/usr/share
pascal@15579 37 cp -a $install/usr/bin $fs/usr
pascal@15579 38 cp -a $install/usr/lib $fs/usr
pascal@15579 39 cp -a $install/usr/share/applications $fs/usr/share
pascal@15579 40 cp -a $install/usr/share/icons $fs/usr/share
erjo@4713 41 rm -rf $fs/usr/share/icons/hicolor/scalable
al@16771 42
al@18477 43 sed -i '/Encoding/d; /Version/d; /Name\[.*\]=Xarchiver/d; /GenericName/d; s|multipart/x-zip;||; /Exec/s/.*/& %f/' \
al@16771 44 $fs/usr/share/applications/xarchiver.desktop
al@16774 45
al@16774 46 mkdir -p $fs/var/www/cgi-bin $fs/usr/share/doc/xarchiver/html
al@16774 47 cp -a $stuff/xarchiver.cgi $fs/var/www/cgi-bin
al@16774 48 cp -a $stuff/index.html $fs/usr/share/doc/xarchiver/html
erjo@4156 49 }