wok-6.x annotate xarchive/receipt @ rev 688

xarchive*: use slitaz-wrap.sh, remove from System tools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 25 21:50:15 2008 +0000 (2008-04-25)
parents 223537e595e4
children 5fb27e4bf774
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"
erjo@484 5 CATEGORY="x-windows"
erjo@484 6 SHORT_DESC="A GTK+ front-end for command line archiving tools."
erjo@484 7 MAINTAINER="Erjo <erjo@slitaz.org>"
erjo@484 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@484 9 WEB_SITE="http://xarchive.sourceforge.net/"
pascal@688 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@484 11
erjo@484 12 # Rules to configure and make the package.ls sr
erjo@484 13 compile_rules()
erjo@484 14 {
erjo@484 15 cd $src
erjo@484 16 # patch tar-wrap for busybox tar option
erjo@484 17 patch -p1 -i ../stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
erjo@484 18
erjo@484 19 ./configure --prefix=/usr --infodir=/usr/share/info \
erjo@484 20 --mandir=/usr/share/man $CONFIGURE_ARGS
erjo@484 21
erjo@484 22 make
erjo@484 23 make DESTDIR=$PWD/_pkg install
erjo@484 24 }
erjo@484 25
erjo@484 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@484 27 genpkg_rules()
erjo@484 28 {
erjo@484 29 mkdir -p $fs/usr/lib/xarchive/wrappers
erjo@484 30 cp -a $_pkg/usr/bin $fs/usr
erjo@484 31 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
pascal@688 32 cp stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
erjo@484 33 strip -s $fs/usr/bin/*
erjo@484 34 }
erjo@484 35