wok-current annotate pugixml/receipt @ rev 21054
updated inxi (2.3.0 -> 3.0.32.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 13 14:46:05 2019 +0100 (2019-03-13) |
parents | 09b238284d9e |
children | 2b147b16adcb |
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@20669 | 10 WEB_SITE="https://pugixml.org/" |
pascal@20669 | 11 WGET_URL="https://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 } |