wok-next diff djview/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d958fec46c9f
children
line diff
     1.1 --- a/djview/receipt	Tue Jul 10 20:08:05 2018 +0300
     1.2 +++ b/djview/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -12,24 +12,20 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="$SF_MIRROR/djvu/$TARBALL"
     1.6  
     1.7 -DEPENDS="qt5-base djvulibre"
     1.8  BUILD_DEPENDS="qt5-dev djvulibre-dev gzip xorg-dev zlib-dev expat-dev mesa-dev"
     1.9  
    1.10 -# Rules to configure and make the package.
    1.11 -compile_rules()
    1.12 -{
    1.13 +compile_rules() {
    1.14  	./configure
    1.15  	sed -i 's/-O2/-Os/g' $src/src/Makefile
    1.16  	make &&
    1.17  	make install
    1.18  }
    1.19  
    1.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 -genpkg_rules()
    1.22 -{
    1.23 +genpkg_rules() {
    1.24  	cp -a $install/* $fs
    1.25  	ln -s djview $fs/usr/bin/djview4
    1.26  	cd $fs/usr/share/icons/hicolor/32x32/
    1.27  	mv mime* apps
    1.28  	rm -rf ../64x64 ../scalable $fs/usr/lib/*/*/*.la
    1.29 +	DEPENDS="qt5-base djvulibre"
    1.30  }