wok-next diff pugixml/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3c581bf52b8
children 80c115184401
line diff
     1.1 --- a/pugixml/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/pugixml/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,7 +3,7 @@
     1.4  PACKAGE="pugixml"
     1.5  VERSION="1.6"
     1.6  CATEGORY="misc"
     1.7 -SHORT_DESC="Light-weight, simple and fast XML parser for C++ with XPath support."
     1.8 +SHORT_DESC="Light-weight, simple and fast XML parser for C++ with XPath support"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="MIT"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 @@ -13,17 +13,16 @@
    1.13  SUGGESTED="cmake"
    1.14  BUILD_DEPENDS="cmake"
    1.15  
    1.16 -# Rules to configure and make the package.
    1.17 -compile_rules()
    1.18 -{
    1.19 -	mkdir build && cd build
    1.20 -	cmake	-DCMAKE_INSTALL_PREFIX=/usr ../scripts
    1.21 -	make
    1.22 -	make DESTDIR=$DESTDIR install
    1.23 +compile_rules() {
    1.24 +	mkdir build
    1.25 +	cd    build
    1.26 +	cmake \
    1.27 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.28 +		../scripts &&
    1.29 +	make &&
    1.30 +	make DESTDIR=$install install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	cp -a $install/* $fs/
    1.38  }