wok-6.x view libical/receipt @ rev 25543

linux-cloop: update cloop.u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 11 12:33:53 2023 +0000 (20 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libical"
4 VERSION="3.0.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Opensource ICalendar implementation."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MPL LGPL"
9 WEB_SITE="https://github.com/libical/libical/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="libxml2"
15 BUILD_DEPENDS="cmake libxml2-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir _build &&
27 cd _build &&
28 cmake .. \
29 -D ENABLE_GTK_DOC=OFF \
30 -D CMAKE_INSTALL_PREFIX=/usr &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files *.so*
39 }