wok annotate libical/receipt @ rev 25600

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 15:14:43 2023 +0000 (11 months ago)
parents e4556f37511f
children
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@25600 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25600 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
erjo@4741 24 # Rules to configure and make the package.
erjo@4741 25 compile_rules()
erjo@4741 26 {
Hans-G?nter@24799 27 mkdir _build &&
Hans-G?nter@24799 28 cd _build &&
Hans-G?nter@21237 29 cmake .. \
Hans-G?nter@24799 30 -D ENABLE_GTK_DOC=OFF \
Hans-G?nter@24799 31 -D CMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@24799 32 make &&
Hans-G?nter@24799 33 make install DESTDIR=$DESTDIR
erjo@4741 34 }
erjo@4741 35
erjo@4741 36 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4741 37 genpkg_rules()
erjo@4741 38 {
Hans-G?nter@24799 39 cook_copy_files *.so*
erjo@4741 40 }