wok-next annotate xarchive/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | d43bf7aae921 |
children | f48456621a9d |
rev | line source |
---|---|
erjo@484 | 1 # SliTaz package receipt. |
erjo@484 | 2 |
erjo@484 | 3 PACKAGE="xarchive" |
erjo@484 | 4 VERSION="0.2.8-6" |
pascal@741 | 5 CATEGORY="x-window" |
erjo@484 | 6 SHORT_DESC="A GTK+ front-end for command line archiving tools." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
erjo@484 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4954 | 10 SUGGESTED="zip rar unace arj lha p7zip lzop linux-squashfs cromfs cabextract \ |
pascal@19627 | 11 xz lrzip" |
erjo@484 | 12 WEB_SITE="http://xarchive.sourceforge.net/" |
pascal@688 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
erjo@484 | 14 |
pascal@15579 | 15 DEPENDS="gtk+ xorg-libXdamage" |
al@20513 | 16 BUILD_DEPENDS="gtk+-dev" |
pascal@15579 | 17 |
erjo@484 | 18 # Rules to configure and make the package.ls sr |
erjo@484 | 19 compile_rules() |
erjo@484 | 20 { |
erjo@484 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1462 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
erjo@484 | 23 |
pascal@1462 | 24 make && |
pascal@15579 | 25 make DESTDIR=$DESTDIR install |
erjo@484 | 26 } |
erjo@484 | 27 |
erjo@484 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@484 | 29 genpkg_rules() |
erjo@484 | 30 { |
erjo@484 | 31 mkdir -p $fs/usr/lib/xarchive/wrappers |
pascal@15579 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 33 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $install/usr/lib/xarchive/wrappers/* |
pascal@8974 | 34 cp $stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers |
erjo@484 | 35 } |