wok view xarchive/receipt @ rev 4910
xarchive: update suggested
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 13 11:40:45 2010 +0100 (2010-02-13) |
parents | a491757a1d96 |
children | ac195e0fe6bf |
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 xz"
12 WEB_SITE="http://xarchive.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.ls sr
16 compile_rules()
17 {
18 cd $src
19 # patch tar-wrap for busybox tar option
20 [ -f done.slitaz-xarchive-wrappers-0.2.8-6.patch ] || \
21 patch -p1 -i ../stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
22 touch done.slitaz-xarchive-wrappers-0.2.8-6.patch
24 ./configure --prefix=/usr --infodir=/usr/share/info \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/xarchive/wrappers
35 cp -a $_pkg/usr/bin $fs/usr
36 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
37 cp stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
38 strip -s $fs/usr/bin/*
39 }