wok view pugixml/receipt @ rev 25157

updated pugixml (1.10 -> 1.12.1)
author Hans-G?nter Theisgen
date Thu Jun 30 16:40:03 2022 +0100 (22 months ago)
parents 5ea0ce1cecc0
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="pugixml"
4 VERSION="1.12.1"
5 CATEGORY="misc"
6 SHORT_DESC="Light-weight, simple and fast XML parser for C++ with XPath support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pugixml.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/zeux/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 SUGGESTED="cmake"
15 BUILD_DEPENDS="cmake"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir _build &&
27 cd _build &&
28 cmake .. \
29 -D CMAKE_INSTALL_PREFIX=/usr &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs/
38 }