wok-current annotate xarchive/receipt @ rev 17162
tup: update TARBALL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 18 01:06:38 2014 +0200 (2014-09-18) |
parents | 02bbaa9d12ba |
children | 055ed706128d |
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@4954 | 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" |
pascal@15579 | 16 BUILD_DEPENDS="pkg-config gtk+ 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 cd $src |
erjo@484 | 22 # patch tar-wrap for busybox tar option |
pascal@1462 | 23 [ -f done.slitaz-xarchive-wrappers-0.2.8-6.patch ] || \ |
pascal@8974 | 24 patch -p1 -i $stuff/slitaz-xarchive-wrappers-0.2.8-6.patch |
pascal@1462 | 25 touch done.slitaz-xarchive-wrappers-0.2.8-6.patch |
erjo@484 | 26 |
erjo@484 | 27 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1462 | 28 --mandir=/usr/share/man $CONFIGURE_ARGS && |
erjo@484 | 29 |
pascal@1462 | 30 make && |
pascal@15579 | 31 make DESTDIR=$DESTDIR install |
erjo@484 | 32 } |
erjo@484 | 33 |
erjo@484 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@484 | 35 genpkg_rules() |
erjo@484 | 36 { |
erjo@484 | 37 mkdir -p $fs/usr/lib/xarchive/wrappers |
pascal@15579 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 39 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $install/usr/lib/xarchive/wrappers/* |
pascal@8974 | 40 cp $stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers |
erjo@484 | 41 } |
erjo@484 | 42 |