wok-next annotate xarchiver/receipt @ rev 19645
Remove mesa-dri-ati, mesa-dri-intel, mesa-dri-nouveau, mesa-dri-vmwgfx -> mesa-dri. Split llvm. Up/add xorg apps and some other stuff.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 22 03:43:01 2017 +0200 (2017-02-22) |
parents | 432b40f0a85f |
children | 60bd4df08f57 |
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" |
al@18477 | 19 GENERIC_MENUS="no" |
pascal@15579 | 20 |
erjo@4156 | 21 # Rules to configure and make the package. |
erjo@4156 | 22 compile_rules() |
erjo@4156 | 23 { |
al@16771 | 24 patch -p0 < $stuff/xarchiver-0.5.3-icons.diff |
erjo@4156 | 25 ./configure \ |
erjo@4156 | 26 --prefix=/usr \ |
erjo@4877 | 27 --libexecdir=/usr/lib \ |
erjo@4156 | 28 $CONFIGURE_ARGS && |
pascal@15579 | 29 make && make DESTDIR=$DESTDIR install |
erjo@4156 | 30 } |
erjo@4156 | 31 |
erjo@4156 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4156 | 33 genpkg_rules() |
erjo@4156 | 34 { |
al@16771 | 35 mkdir -p $fs/usr/share |
pascal@15579 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 37 cp -a $install/usr/lib $fs/usr |
pascal@15579 | 38 cp -a $install/usr/share/applications $fs/usr/share |
pascal@15579 | 39 cp -a $install/usr/share/icons $fs/usr/share |
erjo@4713 | 40 rm -rf $fs/usr/share/icons/hicolor/scalable |
al@16771 | 41 |
al@18477 | 42 sed -i '/Encoding/d; /Version/d; /Name\[.*\]=Xarchiver/d; /GenericName/d; s|multipart/x-zip;||; /Exec/s/.*/& %f/' \ |
al@16771 | 43 $fs/usr/share/applications/xarchiver.desktop |
al@16774 | 44 |
al@16774 | 45 mkdir -p $fs/var/www/cgi-bin $fs/usr/share/doc/xarchiver/html |
al@16774 | 46 cp -a $stuff/xarchiver.cgi $fs/var/www/cgi-bin |
al@16774 | 47 cp -a $stuff/index.html $fs/usr/share/doc/xarchiver/html |
erjo@4156 | 48 } |