wok rev 22151

updated xarchiver (0.5.4 -> 0.5.4.14)
author Hans-G?nter Theisgen
date Wed Nov 06 17:56:42 2019 +0100 (2019-11-06)
parents 39c37a760ab8
children 306a4bbdee7d
files xarchiver/receipt
line diff
     1.1 --- a/xarchiver/receipt	Wed Nov 06 17:36:13 2019 +0100
     1.2 +++ b/xarchiver/receipt	Wed Nov 06 17:56:42 2019 +0100
     1.3 @@ -1,49 +1,59 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xarchiver"
     1.7 -VERSION="0.5.4"
     1.8 +VERSION="0.5.4.14"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="A GTK+ lightweight archive manager"
    1.11 +SHORT_DESC="A GTK+ lightweight archive manager."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://xarchiver.sourceforge.net/"
    1.16 -WGET_URL="$SF_MIRROR/xarchiver/$VERSION/$TARBALL"
    1.17 +WEB_SITE="https://github.com/ib/xarchiver"
    1.18 +
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    1.21  
    1.22  # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
    1.23  # gtar is absent
    1.24  RECOMMENDED="gzip lzma unzip"
    1.25 -SUGGESTED="$RECOMMENDED arj bzip2 binutils xz lzop lha rar cpio zip p7zip-full"
    1.26 +SUGGESTED="$RECOMMENDED arj bzip2 binutils cpio lha lzop p7zip-full rar xz zip"
    1.27 +
    1.28  DEPENDS="gtk+ $RECOMMENDED"
    1.29  BUILD_DEPENDS="gtk+-dev"
    1.30 +
    1.31  GENERIC_PIXMAPS="no"
    1.32  GENERIC_MENUS="no"
    1.33  
    1.34  # Rules to configure and make the package.
    1.35  compile_rules()
    1.36  {
    1.37 -	patch -p0 < $stuff/xarchiver-0.5.3-icons.diff
    1.38 -	./configure \
    1.39 -		--prefix=/usr \
    1.40 -		--libexecdir=/usr/lib \
    1.41 +#	patch -p0 < $stuff/xarchiver-0.5.3-icons.diff
    1.42 +
    1.43 +	./configure			\
    1.44 +		--prefix=/usr		\
    1.45 +		--disable-doc		\
    1.46 +		--libexecdir=/usr/lib	\
    1.47  		$CONFIGURE_ARGS &&
    1.48 -	make && make DESTDIR=$DESTDIR install
    1.49 +	make &&
    1.50 +	make DESTDIR=$DESTDIR install
    1.51  }
    1.52  
    1.53  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.54  genpkg_rules()
    1.55  {
    1.56  	mkdir -p $fs/usr/share
    1.57 -	cp -a $install/usr/bin $fs/usr
    1.58 -	cp -a $install/usr/lib $fs/usr
    1.59 -	cp -a $install/usr/share/applications $fs/usr/share
    1.60 -	cp -a $install/usr/share/icons $fs/usr/share
    1.61 +
    1.62 +	cp -a $install/usr/bin			$fs/usr
    1.63 +	cp -a $install/usr/lib			$fs/usr
    1.64 +	cp -a $install/usr/share/applications	$fs/usr/share
    1.65 +	cp -a $install/usr/share/icons		$fs/usr/share
    1.66 +
    1.67  	rm -rf $fs/usr/share/icons/hicolor/scalable
    1.68  
    1.69  	sed -i '/Encoding/d; /Version/d; /Name\[.*\]=Xarchiver/d; /GenericName/d; s|multipart/x-zip;||; /Exec/s/.*/& %f/' \
    1.70  		$fs/usr/share/applications/xarchiver.desktop
    1.71  
    1.72 -	mkdir -p $fs/var/www/cgi-bin $fs/usr/share/doc/xarchiver/html
    1.73 -	cp -a $stuff/xarchiver.cgi $fs/var/www/cgi-bin
    1.74 -	cp -a $stuff/index.html $fs/usr/share/doc/xarchiver/html
    1.75 +	mkdir -p $fs/var/www/cgi-bin
    1.76 +	mkdir -p $fs/usr/share/doc/xarchiver/html
    1.77 +
    1.78 +	cp -a $stuff/xarchiver.cgi	$fs/var/www/cgi-bin
    1.79 +	cp -a $stuff/index.html		$fs/usr/share/doc/xarchiver/html
    1.80  }