wok-next diff tinyxml2/receipt @ rev 21247
updated cyrus-imapd (2.4.17 -> 3.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 05 16:28:27 2019 +0100 (2019-12-05) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tinyxml2/receipt Thu Dec 05 16:28:27 2019 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="tinyxml2" 1.7 +VERSION="6.2.0" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Simple XML parser made for easy integration" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://www.grinninglizard.com/tinyxml2/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://github.com/leethomason/tinyxml2/archive/$VERSION.tar.gz" 1.16 + 1.17 +BUILD_DEPENDS="cmake ninja" 1.18 +SPLIT="$PACKAGE-dev" 1.19 + 1.20 +compile_rules() { 1.21 + mkdir build 1.22 + cd build 1.23 + cmake \ 1.24 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.25 + -DCMAKE_INSTALL_LIBDIR=lib \ 1.26 + -DCMAKE_BUILD_TYPE=Release \ 1.27 + -G Ninja \ 1.28 + .. && 1.29 + ninja && 1.30 + ninja install || return 1 1.31 + 1.32 + cook_pick_docs $src/docs/* 1.33 +} 1.34 + 1.35 +genpkg_rules() { 1.36 + case $PACKAGE in 1.37 + tinyxml2) copy @std;; 1.38 + *-dev) copy @dev;; 1.39 + esac 1.40 +} 1.41 +