wok annotate xarchiver/receipt @ rev 24031

updated dialog (1.3_20190211 -> 1.3_20210324)
author Hans-G?nter Theisgen
date Tue Apr 06 13:52:57 2021 +0100 (2021-04-06)
parents 79f44cf65141
children 5ea0ce1cecc0
rev   line source
erjo@4156 1 # SliTaz package receipt.
erjo@4156 2
erjo@4156 3 PACKAGE="xarchiver"
Hans-G?nter@22151 4 VERSION="0.5.4.14"
erjo@4156 5 CATEGORY="x-window"
Hans-G?nter@22151 6 SHORT_DESC="A GTK+ lightweight archive manager."
erjo@4156 7 MAINTAINER="erjo@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
Hans-G?nter@22151 9 WEB_SITE="https://github.com/ib/xarchiver"
Hans-G?nter@22151 10
Hans-G?nter@22151 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22151 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
erjo@4156 13
al@16774 14 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
al@16774 15 # gtar is absent
pascal@21710 16 RECOMMENDED="gzip lzma unzip"
Hans-G?nter@22151 17 SUGGESTED="$RECOMMENDED arj bzip2 binutils cpio lha lzop p7zip-full rar xz zip"
Hans-G?nter@22151 18
pascal@21710 19 DEPENDS="gtk+ $RECOMMENDED"
pascal@15579 20 BUILD_DEPENDS="gtk+-dev"
Hans-G?nter@22151 21
al@16774 22 GENERIC_PIXMAPS="no"
al@18477 23 GENERIC_MENUS="no"
pascal@15579 24
erjo@4156 25 # Rules to configure and make the package.
erjo@4156 26 compile_rules()
erjo@4156 27 {
Hans-G?nter@22151 28 # patch -p0 < $stuff/xarchiver-0.5.3-icons.diff
Hans-G?nter@22151 29
Hans-G?nter@22151 30 ./configure \
Hans-G?nter@22151 31 --prefix=/usr \
Hans-G?nter@22151 32 --disable-doc \
Hans-G?nter@22151 33 --libexecdir=/usr/lib \
erjo@4156 34 $CONFIGURE_ARGS &&
Hans-G?nter@22151 35 make &&
Hans-G?nter@22151 36 make DESTDIR=$DESTDIR install
erjo@4156 37 }
erjo@4156 38
erjo@4156 39 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4156 40 genpkg_rules()
erjo@4156 41 {
al@16771 42 mkdir -p $fs/usr/share
Hans-G?nter@22151 43
Hans-G?nter@22151 44 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22151 45 cp -a $install/usr/lib $fs/usr
Hans-G?nter@22151 46 cp -a $install/usr/share/applications $fs/usr/share
Hans-G?nter@22151 47 cp -a $install/usr/share/icons $fs/usr/share
Hans-G?nter@22151 48
erjo@4713 49 rm -rf $fs/usr/share/icons/hicolor/scalable
al@16771 50
pascal@22350 51 sed -i '/Encoding/d; /Version/d; /Name\[.*\]=Xarchiver/d; /GenericName/d; s|multipart/x-zip;||' \
al@16771 52 $fs/usr/share/applications/xarchiver.desktop
al@16774 53
Hans-G?nter@22151 54 mkdir -p $fs/var/www/cgi-bin
Hans-G?nter@22151 55 mkdir -p $fs/usr/share/doc/xarchiver/html
Hans-G?nter@22151 56
Hans-G?nter@22151 57 cp -a $stuff/xarchiver.cgi $fs/var/www/cgi-bin
Hans-G?nter@22151 58 cp -a $stuff/index.html $fs/usr/share/doc/xarchiver/html
erjo@4156 59 }