wok annotate xarchive/receipt @ rev 484

Add ixarchive*, wrappers now run with busibo/ash shell.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Mar 22 16:03:26 2008 +0100 (2008-03-22)
parents
children 7c31f0d8f00c
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 DEPENDS=""
erjo@484 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@484 10 WEB_SITE="http://xarchive.sourceforge.net/"
erjo@484 11 WGET_URL="http://dfn.dl.sourceforge.net/sourceforge/xarchive/$TARBALL"
erjo@484 12 JWM_MENU='Utilities:<Program icon="xarchive.xpm" label="XArchive">xarchive</Program>'
erjo@484 13
erjo@484 14 # Rules to configure and make the package.ls sr
erjo@484 15 compile_rules()
erjo@484 16 {
erjo@484 17 cd $src
erjo@484 18 # patch tar-wrap for busybox tar option
erjo@484 19 patch -p1 -i ../stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
erjo@484 20
erjo@484 21 ./configure --prefix=/usr --infodir=/usr/share/info \
erjo@484 22 --mandir=/usr/share/man $CONFIGURE_ARGS
erjo@484 23
erjo@484 24 make
erjo@484 25 make DESTDIR=$PWD/_pkg 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
erjo@484 32 cp -a $_pkg/usr/bin $fs/usr
erjo@484 33 cp -a $_pkg/usr/lib/xarchive/wrappers/tar-* $fs/usr/lib/xarchive/wrappers
erjo@484 34 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
erjo@484 35 strip -s $fs/usr/bin/*
erjo@484 36 }
erjo@484 37