wok-next view xarchive/receipt @ rev 749

fpm2: nicer Tabgo icon
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 06 14:16:14 2008 +0200 (2008-05-06)
parents 7c31f0d8f00c
children a075ff895254
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 <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 }