wok view pugixml/receipt @ rev 24467

updated dasm (2.20.11 -> 2.20.14.1)
author Hans-G?nter Theisgen
date Thu Feb 17 13:54:18 2022 +0100 (2022-02-17)
parents b3bc4f725c0b
children ef0fdee3b091
line source
1 # SliTaz package receipt.
3 PACKAGE="pugixml"
4 VERSION="1.10"
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 .. -DCMAKE_INSTALL_PREFIX=/usr &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs/
37 }