wok-next view xarchiver/receipt @ rev 17784
Fix: disable llvm compiler version check
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Mar 14 21:36:00 2015 +0000 (2015-03-14) |
parents | 7893304f1666 |
children | 7bb67a9e6b53 |
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"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 patch -p0 < $stuff/xarchiver-0.5.3-icons.diff
24 ./configure \
25 --prefix=/usr \
26 --libexecdir=/usr/lib \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share/applications $fs/usr/share
38 cp -a $install/usr/share/icons $fs/usr/share
39 rm -rf $fs/usr/share/icons/hicolor/scalable
41 sed -i '/Encoding/d;/Version/d;/Name\[.*\]=Xarchiver/d;/GenericName/d;/Exec/s/.*/& %f/' \
42 $fs/usr/share/applications/xarchiver.desktop
44 mkdir -p $fs/var/www/cgi-bin $fs/usr/share/doc/xarchiver/html
45 cp -a $stuff/xarchiver.cgi $fs/var/www/cgi-bin
46 cp -a $stuff/index.html $fs/usr/share/doc/xarchiver/html
47 }