wok rev 480

UP: xarchive. Packages split in two parts. xarchive, xarchive-extras
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Mar 22 00:57:10 2008 +0100 (2008-03-22)
parents 14dd9740fc7e
children 653b293d49cd
files xarchive-extras/receipt xarchive/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xarchive-extras/receipt	Sat Mar 22 00:57:10 2008 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xarchive-extras"
     1.7 +VERSION="0.2.8-6"
     1.8 +CATEGORY="x-windows"
     1.9 +SHORT_DESC="XArchve command line archiving tools wrappers."
    1.10 +MAINTAINER="Erjo <erjo@slitaz.org>"
    1.11 +DEPENDS="xarchive"
    1.12 +WANTED="xarchive"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://xarchive.sourceforge.net/"
    1.15 +
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib/xarchive/wrappers
    1.21 +	cp -a $_pkg/usr/bin $fs/usr
    1.22 +	cp -a $_pkg/usr/lib/xarchive/wrappers/* $fs/usr/lib/xarchive/wrappers
    1.23 +	rm -f fs/usr/lib/xarchive/wrappers/tar-*
    1.24 +	sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
    1.25 +}
    1.26 +
     2.1 --- a/xarchive/receipt	Fri Mar 21 15:46:17 2008 +0100
     2.2 +++ b/xarchive/receipt	Sat Mar 22 00:57:10 2008 +0100
     2.3 @@ -3,12 +3,12 @@
     2.4  PACKAGE="xarchive"
     2.5  VERSION="0.2.8-6"
     2.6  CATEGORY="x-windows"
     2.7 -SHORT_DESC=""
     2.8 +SHORT_DESC="A GTK+ front-end for command line archiving tools."
     2.9  MAINTAINER="Erjo <erjo@slitaz.org>"
    2.10  DEPENDS=""
    2.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12  WEB_SITE="http://xarchive.sourceforge.net/"
    2.13 -WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/xarchive/$TARBALL"
    2.14 +WGET_URL="http://dfn.dl.sourceforge.net/sourceforge/xarchive/$TARBALL" 
    2.15  JWM_MENU='Utilities:<Program icon="xarchive.xpm" label="XArchive">xarchive</Program>'
    2.16  
    2.17  # Rules to configure and make the package.ls sr	
    2.18 @@ -21,7 +21,6 @@
    2.19  	./configure --prefix=/usr --infodir=/usr/share/info \
    2.20  	--mandir=/usr/share/man $CONFIGURE_ARGS
    2.21  
    2.22 -
    2.23  	make
    2.24  	make DESTDIR=$PWD/_pkg install
    2.25  }
    2.26 @@ -29,10 +28,10 @@
    2.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.28  genpkg_rules()
    2.29  {
    2.30 -	mkdir -p $fs/usr/lib
    2.31 +	mkdir -p $fs/usr/lib/xarchive/wrappers
    2.32  	cp -a $_pkg/usr/bin $fs/usr
    2.33 -	cp -a $_pkg/usr/lib $fs/usr
    2.34 -
    2.35 +	cp -a $_pkg/usr/lib/xarchive/wrappers/tar-* $fs/usr/lib/xarchive/wrappers
    2.36 +	sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
    2.37  	strip -s $fs/usr/bin/*
    2.38  }
    2.39