wok-6.x view xarchiver/receipt @ rev 16772
pcmanfm: disable cd mount on start,exit on umount/eject
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu Jun 19 21:46:00 2014 +0000 (2014-06-19) |
parents | eb8067417980 |
children | 7893304f1666 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xarchiver"
4 VERSION="0.5.3"
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/$PACKAGE/$VERSION/$TARBALL"
13 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar; gtar is absent
14 SUGGESTED="arj bzip2 binutils gzip lzma xz lzop lha rar cpio zip p7zip-full xdg-utils"
15 DEPENDS="gtk+"
16 BUILD_DEPENDS="gtk+-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch -p0 < $stuff/xarchiver-0.5.3-icons.diff
22 ./configure \
23 --prefix=/usr \
24 --libexecdir=/usr/lib \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/usr/share/applications $fs/usr/share
36 cp -a $install/usr/share/icons $fs/usr/share
37 rm -rf $fs/usr/share/icons/hicolor/scalable
39 sed -i '/Encoding/d;/Version/d;/Name\[.*\]=Xarchiver/d;/GenericName/d;/Exec/s/.*/& %f/' \
40 $fs/usr/share/applications/xarchiver.desktop
41 }