wok-6.x view pugixml/receipt @ rev 24288
fail2ban: add log4j-jndi.conf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 13 18:29:05 2022 +0000 (2022-01-13) |
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 }