wok-current annotate libical/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | 5ea0ce1cecc0 |
children | 5926178cd6fa |
rev | line source |
---|---|
erjo@4741 | 1 # SliTaz package receipt. |
erjo@4741 | 2 |
erjo@4741 | 3 PACKAGE="libical" |
Hans-G?nter@24799 | 4 VERSION="3.0.14" |
erjo@4741 | 5 CATEGORY="system-tools" |
Hans-G?nter@21237 | 6 SHORT_DESC="Opensource ICalendar implementation." |
erjo@4741 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15473 | 8 LICENSE="MPL LGPL" |
Hans-G?nter@21237 | 9 WEB_SITE="https://github.com/libical/libical/" |
Hans-G?nter@21237 | 10 |
erjo@4741 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21237 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
erjo@4741 | 13 |
Hans-G?nter@24799 | 14 DEPENDS="libxml2" |
Hans-G?nter@24799 | 15 BUILD_DEPENDS="cmake libxml2-dev" |
pascal@15473 | 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 |
erjo@4741 | 23 # Rules to configure and make the package. |
erjo@4741 | 24 compile_rules() |
erjo@4741 | 25 { |
Hans-G?nter@24799 | 26 mkdir _build && |
Hans-G?nter@24799 | 27 cd _build && |
Hans-G?nter@21237 | 28 cmake .. \ |
Hans-G?nter@24799 | 29 -D ENABLE_GTK_DOC=OFF \ |
Hans-G?nter@24799 | 30 -D CMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@24799 | 31 make && |
Hans-G?nter@24799 | 32 make install DESTDIR=$DESTDIR |
erjo@4741 | 33 } |
erjo@4741 | 34 |
erjo@4741 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4741 | 36 genpkg_rules() |
erjo@4741 | 37 { |
Hans-G?nter@24799 | 38 cook_copy_files *.so* |
erjo@4741 | 39 } |