wok annotate pugixml/receipt @ rev 20609

Up linux-libre (3.18.129) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 18 10:45:19 2018 +0100 (2018-12-18)
parents
children a78610b2eb47
rev   line source
pascal@18161 1 # SliTaz package receipt.
pascal@18161 2
pascal@18161 3 PACKAGE="pugixml"
pascal@18161 4 VERSION="1.6"
pascal@18161 5 CATEGORY="misc"
pascal@18161 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"
pascal@18161 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18161 10 WEB_SITE="http://pugixml.org/"
pascal@18161 11 WGET_URL="http://github.com/zeux/pugixml/releases/download/v$VERSION/$TARBALL"
pascal@18161 12
pascal@18161 13 SUGGESTED="cmake"
pascal@18161 14 BUILD_DEPENDS="cmake"
pascal@18161 15
pascal@18161 16 # Rules to configure and make the package.
pascal@18161 17 compile_rules()
pascal@18161 18 {
pascal@18161 19 mkdir build && cd build
pascal@18161 20 cmake -DCMAKE_INSTALL_PREFIX=/usr ../scripts
pascal@18161 21 make
pascal@18161 22 make DESTDIR=$DESTDIR install
pascal@18161 23 }
pascal@18161 24
pascal@18161 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18161 26 genpkg_rules()
pascal@18161 27 {
pascal@18161 28 cp -a $install/* $fs/
pascal@18161 29 }