wok-4.x view xarchive/receipt @ rev 8974

[q-z]*: use veriable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 11:06:20 2011 +0100 (2011-03-02)
parents ac195e0fe6bf
children 02bbaa9d12ba
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 DEPENDS="gtk+ xorg-libXdamage"
10 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
11 SUGGESTED="zip rar unace arj lha p7zip lzop linux-squashfs cromfs cabextract \
12 xz lrzip"
13 WEB_SITE="http://xarchive.sourceforge.net/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.ls sr
17 compile_rules()
18 {
19 cd $src
20 # patch tar-wrap for busybox tar option
21 [ -f done.slitaz-xarchive-wrappers-0.2.8-6.patch ] || \
22 patch -p1 -i $stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
23 touch done.slitaz-xarchive-wrappers-0.2.8-6.patch
25 ./configure --prefix=/usr --infodir=/usr/share/info \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/xarchive/wrappers
36 cp -a $_pkg/usr/bin $fs/usr
37 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
38 cp $stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
39 strip -s $fs/usr/bin/*
40 }