wok view xarchive/receipt @ rev 1502

Up madwifi (r3861)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 05 14:00:19 2008 +0000 (2008-10-05)
parents a075ff895254
children 3d99ecce2d4b
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 [ -f done.slitaz-xarchive-wrappers-0.2.8-6.patch ] || \
18 patch -p1 -i ../stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
19 touch done.slitaz-xarchive-wrappers-0.2.8-6.patch
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/xarchive/wrappers
32 cp -a $_pkg/usr/bin $fs/usr
33 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
34 cp stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
35 strip -s $fs/usr/bin/*
36 }