wok-stable rev 484
Add ixarchive*, wrappers now run with busibo/ash shell.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Mar 22 16:03:26 2008 +0100 (2008-03-22) |
parents | 266910611b67 |
children | 0bcb799f7815 |
files | xarchive/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xarchive/receipt Sat Mar 22 16:03:26 2008 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xarchive" 1.7 +VERSION="0.2.8-6" 1.8 +CATEGORY="x-windows" 1.9 +SHORT_DESC="A GTK+ front-end for command line archiving tools." 1.10 +MAINTAINER="Erjo <erjo@slitaz.org>" 1.11 +DEPENDS="" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://xarchive.sourceforge.net/" 1.14 +WGET_URL="http://dfn.dl.sourceforge.net/sourceforge/xarchive/$TARBALL" 1.15 +JWM_MENU='Utilities:<Program icon="xarchive.xpm" label="XArchive">xarchive</Program>' 1.16 + 1.17 +# Rules to configure and make the package.ls sr 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + # patch tar-wrap for busybox tar option 1.22 + patch -p1 -i ../stuff/slitaz-xarchive-wrappers-0.2.8-6.patch 1.23 + 1.24 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.25 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.26 + 1.27 + make 1.28 + make DESTDIR=$PWD/_pkg install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr/lib/xarchive/wrappers 1.35 + cp -a $_pkg/usr/bin $fs/usr 1.36 + cp -a $_pkg/usr/lib/xarchive/wrappers/tar-* $fs/usr/lib/xarchive/wrappers 1.37 + sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/* 1.38 + strip -s $fs/usr/bin/* 1.39 +} 1.40 +