wok-next annotate pugixml/receipt @ rev 18519
Up: tazpkg-test(850): French documentation
libboost-dev: return back libraries separated from libboost-chrono and libboost-chrono-dev
libboost-dev: return back libraries separated from libboost-chrono and libboost-chrono-dev
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 25 20:58:36 2015 +0200 (2015-10-25) |
parents | |
children | a3c581bf52b8 |
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 } |