wok view xarchive/receipt @ rev 5979
h8300-gcc: Update from 4.4.1 to 4.4.4
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Aug 12 21:25:01 2010 +0000 (2010-08-12) |
parents | abac6afe28b6 |
children | 940b5937e496 |
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 }