wok-next view tinyxml2/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tinyxml2"
4 VERSION="6.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Simple XML parser made for easy integration"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.grinninglizard.com/tinyxml2/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/leethomason/tinyxml2/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake ninja"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DCMAKE_INSTALL_LIBDIR=lib \
23 -DCMAKE_BUILD_TYPE=Release \
24 -G Ninja \
25 .. &&
26 ninja &&
27 ninja install || return 1
29 cook_pick_docs $src/docs/*
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 tinyxml2) copy @std;;
35 *-dev) copy @dev;;
36 esac
37 }