wok annotate xarchiver/receipt @ rev 17793
python-xmlutils: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 13:06:40 2015 +0100 (2015-03-16) |
parents | 7893304f1666 |
children | 7bb67a9e6b53 |
rev | line source |
---|---|
erjo@4156 | 1 # SliTaz package receipt. |
erjo@4156 | 2 |
erjo@4156 | 3 PACKAGE="xarchiver" |
pascal@17708 | 4 VERSION="0.5.4" |
erjo@4156 | 5 CATEGORY="x-window" |
al@16771 | 6 SHORT_DESC="A GTK+ lightweight archive manager" |
erjo@4156 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
erjo@4156 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4156 | 10 WEB_SITE="http://xarchiver.sourceforge.net/" |
al@16774 | 11 WGET_URL="$SF_MIRROR/xarchiver/$VERSION/$TARBALL" |
erjo@4156 | 12 |
al@16774 | 13 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar; |
al@16774 | 14 # gtar is absent |
al@16774 | 15 SUGGESTED="arj bzip2 binutils gzip lzma xz lzop lha rar cpio zip p7zip-full" |
al@16771 | 16 DEPENDS="gtk+" |
pascal@15579 | 17 BUILD_DEPENDS="gtk+-dev" |
al@16774 | 18 GENERIC_PIXMAPS="no" |
pascal@15579 | 19 |
erjo@4156 | 20 # Rules to configure and make the package. |
erjo@4156 | 21 compile_rules() |
erjo@4156 | 22 { |
al@16771 | 23 patch -p0 < $stuff/xarchiver-0.5.3-icons.diff |
erjo@4156 | 24 ./configure \ |
erjo@4156 | 25 --prefix=/usr \ |
erjo@4877 | 26 --libexecdir=/usr/lib \ |
erjo@4156 | 27 $CONFIGURE_ARGS && |
pascal@15579 | 28 make && make DESTDIR=$DESTDIR install |
erjo@4156 | 29 } |
erjo@4156 | 30 |
erjo@4156 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4156 | 32 genpkg_rules() |
erjo@4156 | 33 { |
al@16771 | 34 mkdir -p $fs/usr/share |
pascal@15579 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 36 cp -a $install/usr/lib $fs/usr |
pascal@15579 | 37 cp -a $install/usr/share/applications $fs/usr/share |
pascal@15579 | 38 cp -a $install/usr/share/icons $fs/usr/share |
erjo@4713 | 39 rm -rf $fs/usr/share/icons/hicolor/scalable |
al@16771 | 40 |
al@16771 | 41 sed -i '/Encoding/d;/Version/d;/Name\[.*\]=Xarchiver/d;/GenericName/d;/Exec/s/.*/& %f/' \ |
al@16771 | 42 $fs/usr/share/applications/xarchiver.desktop |
al@16774 | 43 |
al@16774 | 44 mkdir -p $fs/var/www/cgi-bin $fs/usr/share/doc/xarchiver/html |
al@16774 | 45 cp -a $stuff/xarchiver.cgi $fs/var/www/cgi-bin |
al@16774 | 46 cp -a $stuff/index.html $fs/usr/share/doc/xarchiver/html |
erjo@4156 | 47 } |