wok-current diff xarchiver/receipt @ rev 25556

created recipes for nted and nted-lang
author Hans-G?nter Theisgen
date Sat Apr 22 14:54:15 2023 +0100 (20 months ago)
parents ac8ca9758df1
children 3ad63c8fc2f9
line diff
     1.1 --- a/xarchiver/receipt	Sat Jan 15 15:21:40 2022 +0000
     1.2 +++ b/xarchiver/receipt	Sat Apr 22 14:54:15 2023 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xarchiver"
     1.7 -VERSION="0.5.4.14"
     1.8 +VERSION="0.5.4.18"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="A GTK+ lightweight archive manager."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -14,10 +14,10 @@
    1.13  # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
    1.14  # gtar is absent
    1.15  RECOMMENDED="gzip lzma unzip"
    1.16 -SUGGESTED="$RECOMMENDED arj bzip2 binutils cpio lha lzop p7zip-full rar xz zip"
    1.17 +SUGGESTED="$RECOMMENDED arj bzip2 binutils cpio lha lzop p7zip-full rar xarchiver-lang xz zip"
    1.18  
    1.19 -DEPENDS="gtk+ $RECOMMENDED"
    1.20 -BUILD_DEPENDS="gtk+-dev"
    1.21 +DEPENDS="gtk+ libxml2 $RECOMMENDED"
    1.22 +BUILD_DEPENDS="gtk+-dev libxml2-dev"
    1.23  
    1.24  GENERIC_PIXMAPS="no"
    1.25  GENERIC_MENUS="no"
    1.26 @@ -39,27 +39,26 @@
    1.27  		--libexecdir=/usr/lib	\
    1.28  		$CONFIGURE_ARGS &&
    1.29  	make &&
    1.30 -	make DESTDIR=$DESTDIR install
    1.31 +	make install DESTDIR=$DESTDIR
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37  	mkdir -p $fs/usr/share
    1.38 +	mkdir -p $fs/var/www/cgi-bin
    1.39 +	mkdir -p $fs/usr/share/doc/xarchiver/html
    1.40  
    1.41  	cp -a $install/usr/bin			$fs/usr
    1.42  	cp -a $install/usr/lib			$fs/usr
    1.43  	cp -a $install/usr/share/applications	$fs/usr/share
    1.44  	cp -a $install/usr/share/icons		$fs/usr/share
    1.45  
    1.46 -	rm -rf $fs/usr/share/icons/hicolor/scalable
    1.47 +	rm -rf					$fs/usr/share/icons/hicolor/scalable
    1.48  
    1.49  	sed -i '/Encoding/d; /Version/d; /Name\[.*\]=Xarchiver/d; /GenericName/d; s|multipart/x-zip;||' \
    1.50  		$fs/usr/share/applications/xarchiver.desktop
    1.51  
    1.52 -	mkdir -p $fs/var/www/cgi-bin
    1.53 -	mkdir -p $fs/usr/share/doc/xarchiver/html
    1.54 -
    1.55 -	cp -a $stuff/xarchiver.cgi	$fs/var/www/cgi-bin
    1.56 -	cp -a $stuff/index.html		$fs/usr/share/doc/xarchiver/html
    1.57 +	cp -a $stuff/xarchiver.cgi		$fs/var/www/cgi-bin
    1.58 +	cp -a $stuff/index.html			$fs/usr/share/doc/xarchiver/html
    1.59  }