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

Force install of glibc-2.7 by busybox
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 12 21:57:59 2008 +0200 (2008-04-12)
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 }