wok view xarchive/receipt @ rev 717

slitaz-tools and slitaz-configs receipts typo and add deps
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 21:09:43 2008 +0200 (2008-05-02)
parents 223537e595e4
children 5fb27e4bf774
line source
1 # SliTaz package receipt.
3 PACKAGE="xarchive"
4 VERSION="0.2.8-6"
5 CATEGORY="x-windows"
6 SHORT_DESC="A GTK+ front-end for command line archiving tools."
7 MAINTAINER="Erjo <erjo@slitaz.org>"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://xarchive.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.ls sr
13 compile_rules()
14 {
15 cd $src
16 # patch tar-wrap for busybox tar option
17 patch -p1 -i ../stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/xarchive/wrappers
30 cp -a $_pkg/usr/bin $fs/usr
31 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
32 cp stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
33 strip -s $fs/usr/bin/*
34 }