wok-6.x view xarchive/receipt @ rev 518
Add: hardinfo (System info) + galculator
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 08 20:37:25 2008 +0200 (2008-04-08) |
parents | |
children | 7c31f0d8f00c |
line source
1 # SliTaz package receipt.
3 PACKAGE="xarchive"
4 VERSION="0.2.8-6"
5 CATEGORY="x-windows"
6 SHORT_DESC="A GTK+ front-end for command line archiving tools."
7 MAINTAINER="Erjo <erjo@slitaz.org>"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://xarchive.sourceforge.net/"
11 WGET_URL="http://dfn.dl.sourceforge.net/sourceforge/xarchive/$TARBALL"
12 JWM_MENU='Utilities:<Program icon="xarchive.xpm" label="XArchive">xarchive</Program>'
14 # Rules to configure and make the package.ls sr
15 compile_rules()
16 {
17 cd $src
18 # patch tar-wrap for busybox tar option
19 patch -p1 -i ../stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/xarchive/wrappers
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/xarchive/wrappers/tar-* $fs/usr/lib/xarchive/wrappers
34 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
35 strip -s $fs/usr/bin/*
36 }