wok-6.x view xarchive/receipt @ rev 1104

Up: clamav (0.93.3) Antivirus
author Paul Issott <paul@slitaz.org>
date Fri Jul 18 22:38:32 2008 +0000 (2008-07-18)
parents 5fb27e4bf774
children c26d98c9bc75
line source
1 # SliTaz package receipt.
3 PACKAGE="xarchive"
4 VERSION="0.2.8-6"
5 CATEGORY="x-window"
6 SHORT_DESC="A GTK+ front-end for command line archiving tools."
7 MAINTAINER="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 }