wok-next diff trojita/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 0fa8e8aae1b8
children
line diff
     1.1 --- a/trojita/receipt	Sat Dec 12 06:34:12 2015 +0200
     1.2 +++ b/trojita/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="trojita"
     1.8  VERSION="0.5"
     1.9 @@ -7,24 +7,24 @@
    1.10  MAINTAINER="al.bobylev@gmail.com"
    1.11  LICENSE="GPL"
    1.12  WEB_SITE="http://trojita.flaska.net/"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16  
    1.17 -DEPENDS="libQtDBus libQtSql libQtWebkit qtkeychain"
    1.18  BUILD_DEPENDS="cmake Qt4-dev qmake dbus-dev zlib-dev qtkeychain-dev"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 -	mkdir build; cd build
    1.24 -	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. &&
    1.25 -	make && make install
    1.26 +compile_rules() {
    1.27 +	mkdir build
    1.28 +	cd    build
    1.29 +	cmake \
    1.30 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.31 +		-DCMAKE_BUILD_TYPE=Release \
    1.32 +		.. &&
    1.33 +	make &&
    1.34 +	make install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	cp -a $install/* $fs
    1.41 -	# Remove locales
    1.42 -	rm -r $fs/usr/share/trojita
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	DEPENDS="libQtDBus libQtSql libQtWebkit qtkeychain"
    1.46  }