wok view xarchive/receipt @ rev 13734
Add xscavenger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 25 16:55:52 2012 +0100 (2012-12-25) |
parents | 940b5937e496 |
children | eb8067417980 |
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 }