wok annotate pugixml/receipt @ rev 23630
updated sarg and sarg-php (2.3.11 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 17 08:01:58 2020 +0100 (2020-04-17) |
parents | 2b147b16adcb |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@18161 | 1 # SliTaz package receipt. |
pascal@18161 | 2 |
pascal@18161 | 3 PACKAGE="pugixml" |
Hans-G?nter@23453 | 4 VERSION="1.10" |
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 { |
Hans-G?nter@23453 | 20 mkdir build && |
Hans-G?nter@23453 | 21 cd build && |
Hans-G?nter@23453 | 22 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@23453 | 23 make && |
pascal@18161 | 24 make DESTDIR=$DESTDIR install |
pascal@18161 | 25 } |
pascal@18161 | 26 |
pascal@18161 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18161 | 28 genpkg_rules() |
pascal@18161 | 29 { |
Hans-G?nter@23453 | 30 cp -a $install/* $fs/ |
pascal@18161 | 31 } |