wok view xarchiver/receipt @ rev 20915

updated fbpanel (6.1 -> 7.0)
author Hans-G?nter Theisgen
date Thu Feb 28 15:53:45 2019 +0100 (2019-02-28)
parents 432b40f0a85f
children 55173d523ffc
line source
1 # SliTaz package receipt.
3 PACKAGE="xarchiver"
4 VERSION="0.5.4"
5 CATEGORY="x-window"
6 SHORT_DESC="A GTK+ lightweight archive manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://xarchiver.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/xarchiver/$VERSION/$TARBALL"
13 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
14 # gtar is absent
15 SUGGESTED="arj bzip2 binutils gzip lzma xz lzop lha rar cpio zip p7zip-full"
16 DEPENDS="gtk+"
17 BUILD_DEPENDS="gtk+-dev"
18 GENERIC_PIXMAPS="no"
19 GENERIC_MENUS="no"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 patch -p0 < $stuff/xarchiver-0.5.3-icons.diff
25 ./configure \
26 --prefix=/usr \
27 --libexecdir=/usr/lib \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/share/applications $fs/usr/share
39 cp -a $install/usr/share/icons $fs/usr/share
40 rm -rf $fs/usr/share/icons/hicolor/scalable
42 sed -i '/Encoding/d; /Version/d; /Name\[.*\]=Xarchiver/d; /GenericName/d; s|multipart/x-zip;||; /Exec/s/.*/& %f/' \
43 $fs/usr/share/applications/xarchiver.desktop
45 mkdir -p $fs/var/www/cgi-bin $fs/usr/share/doc/xarchiver/html
46 cp -a $stuff/xarchiver.cgi $fs/var/www/cgi-bin
47 cp -a $stuff/index.html $fs/usr/share/doc/xarchiver/html
48 }