wok-next diff pugixml/receipt @ rev 21397

opentyrian: add "glib" to bdeps for /usr/bin/glib-compile-schemas
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 18 17:26:44 2020 +0300 (2020-04-18)
parents d5aab818505e
children
line diff
     1.1 --- a/pugixml/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/pugixml/receipt	Sat Apr 18 17:26:44 2020 +0300
     1.3 @@ -1,28 +1,29 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pugixml"
     1.8 -VERSION="1.6"
     1.9 +VERSION="1.9"
    1.10  CATEGORY="misc"
    1.11  SHORT_DESC="Light-weight, simple and fast XML parser for C++ with XPath support"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 +WEB_SITE="https://pugixml.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://pugixml.org/"
    1.18  WGET_URL="https://github.com/zeux/pugixml/releases/download/v$VERSION/$TARBALL"
    1.19 +TARBALL_SHA1="752958e524b67bea879d420c6d961d594920c5cc"
    1.20  
    1.21 -SUGGESTED="cmake"
    1.22  BUILD_DEPENDS="cmake"
    1.23 +SPLIT="$PACKAGE-dev"
    1.24  
    1.25  compile_rules() {
    1.26  	mkdir build
    1.27  	cd    build
    1.28  	cmake \
    1.29  		-DCMAKE_INSTALL_PREFIX=/usr \
    1.30 -		../scripts &&
    1.31 +		-DCMAKE_INSTALL_LIBDIR=lib \
    1.32 +		-DBUILD_SHARED_LIBS=True \
    1.33 +		-DCMAKE_BUILD_TYPE=Release \
    1.34 +		.. &&
    1.35  	make &&
    1.36 -	make DESTDIR=$install install
    1.37 +	make install
    1.38  }
    1.39 -
    1.40 -genpkg_rules() {
    1.41 -	cp -a $install/* $fs/
    1.42 -}