wok-next annotate pugixml/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
rev   line source
al@21121 1 # SliTaz package receipt v2.
pascal@18161 2
pascal@18161 3 PACKAGE="pugixml"
al@21121 4 VERSION="1.9"
pascal@18161 5 CATEGORY="misc"
al@21020 6 SHORT_DESC="Light-weight, simple and fast XML parser for C++ with XPath support"
pascal@18161 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18161 8 LICENSE="MIT"
al@21121 9 WEB_SITE="https://pugixml.org/"
al@21121 10
pascal@18161 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20906 12 WGET_URL="https://github.com/zeux/pugixml/releases/download/v$VERSION/$TARBALL"
al@21121 13 TARBALL_SHA1="752958e524b67bea879d420c6d961d594920c5cc"
pascal@18161 14
pascal@18161 15 BUILD_DEPENDS="cmake"
al@21121 16 SPLIT="$PACKAGE-dev"
pascal@18161 17
al@21020 18 compile_rules() {
al@21020 19 mkdir build
al@21020 20 cd build
al@21020 21 cmake \
al@21020 22 -DCMAKE_INSTALL_PREFIX=/usr \
al@21121 23 -DCMAKE_INSTALL_LIBDIR=lib \
al@21121 24 -DBUILD_SHARED_LIBS=True \
al@21121 25 -DCMAKE_BUILD_TYPE=Release \
al@21121 26 .. &&
al@21020 27 make &&
al@21121 28 make install
pascal@18161 29 }