wok view xarchiver/receipt @ rev 21808
Add virtualbox-ose-modules*
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 17 16:23:26 2019 +0200 (2019-08-17) |
parents | 7bb67a9e6b53 |
children | a1677855824a |
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 RECOMMENDED="gzip lzma unzip"
16 SUGGESTED="$RECOMMENDED arj bzip2 binutils xz lzop lha rar cpio zip p7zip-full"
17 DEPENDS="gtk+ $RECOMMENDED"
18 BUILD_DEPENDS="gtk+-dev"
19 GENERIC_PIXMAPS="no"
20 GENERIC_MENUS="no"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 patch -p0 < $stuff/xarchiver-0.5.3-icons.diff
26 ./configure \
27 --prefix=/usr \
28 --libexecdir=/usr/lib \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share/applications $fs/usr/share
40 cp -a $install/usr/share/icons $fs/usr/share
41 rm -rf $fs/usr/share/icons/hicolor/scalable
43 sed -i '/Encoding/d; /Version/d; /Name\[.*\]=Xarchiver/d; /GenericName/d; s|multipart/x-zip;||; /Exec/s/.*/& %f/' \
44 $fs/usr/share/applications/xarchiver.desktop
46 mkdir -p $fs/var/www/cgi-bin $fs/usr/share/doc/xarchiver/html
47 cp -a $stuff/xarchiver.cgi $fs/var/www/cgi-bin
48 cp -a $stuff/index.html $fs/usr/share/doc/xarchiver/html
49 }