wok-6.x annotate pugixml/receipt @ rev 21726
updated pugixml (1.6 -> 1.9)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 12 15:36:52 2019 +0100 (2019-06-12) |
parents | a78610b2eb47 |
children | b3bc4f725c0b |
rev | line source |
---|---|
pascal@18161 | 1 # SliTaz package receipt. |
pascal@18161 | 2 |
pascal@18161 | 3 PACKAGE="pugixml" |
Hans-G?nter@21726 | 4 VERSION="1.9" |
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" |
Hans-G?nter@21726 | 9 WEB_SITE="https://pugixml.org/" |
Hans-G?nter@21726 | 10 |
pascal@18161 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21726 | 12 WGET_URL="https://github.com/zeux/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
pascal@18161 | 13 |
pascal@18161 | 14 SUGGESTED="cmake" |
pascal@18161 | 15 BUILD_DEPENDS="cmake" |
pascal@18161 | 16 |
pascal@18161 | 17 # Rules to configure and make the package. |
pascal@18161 | 18 compile_rules() |
pascal@18161 | 19 { |
pascal@18161 | 20 mkdir build && cd build |
Hans-G?nter@21726 | 21 cmake .. -DCMAKE_INSTALL_PREFIX=/usr |
pascal@18161 | 22 make |
pascal@18161 | 23 make DESTDIR=$DESTDIR install |
pascal@18161 | 24 } |
pascal@18161 | 25 |
pascal@18161 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18161 | 27 genpkg_rules() |
pascal@18161 | 28 { |
pascal@18161 | 29 cp -a $install/* $fs/ |
pascal@18161 | 30 } |