wok-6.x annotate xarchive/receipt @ rev 20284
Up spl (0.7.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 02 10:14:55 2018 +0200 (2018-04-02) |
parents | 055ed706128d |
children | c365fe17a816 |
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@19677 | 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 } |