wok-next diff xarchive/receipt @ rev 617
busybox: typos (patch compatibility busybox/patch 1.7.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 19 11:55:34 2008 +0000 (2008-04-19) |
parents | |
children | 7c31f0d8f00c |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xarchive/receipt Sat Apr 19 11:55:34 2008 +0000 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 +