wok-current annotate pugixml/receipt @ rev 25701
Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Apr 19 12:48:51 2024 +0000 (5 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@18161 | 1 # SliTaz package receipt. |
pascal@18161 | 2 |
pascal@18161 | 3 PACKAGE="pugixml" |
Hans-G?nter@25157 | 4 VERSION="1.12.1" |
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@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@18161 | 23 # Rules to configure and make the package. |
pascal@18161 | 24 compile_rules() |
pascal@18161 | 25 { |
Hans-G?nter@25157 | 26 mkdir _build && |
Hans-G?nter@25157 | 27 cd _build && |
Hans-G?nter@25157 | 28 cmake .. \ |
Hans-G?nter@25157 | 29 -D CMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@23453 | 30 make && |
Hans-G?nter@25157 | 31 make install DESTDIR=$DESTDIR |
pascal@18161 | 32 } |
pascal@18161 | 33 |
pascal@18161 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18161 | 35 genpkg_rules() |
pascal@18161 | 36 { |
Hans-G?nter@23453 | 37 cp -a $install/* $fs/ |
pascal@18161 | 38 } |