wok-current view xarchiver/receipt @ rev 22532

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