wok view libical/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | e4556f37511f |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir _build &&
28 cd _build &&
29 cmake .. \
30 -D ENABLE_GTK_DOC=OFF \
31 -D CMAKE_INSTALL_PREFIX=/usr &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files *.so*
40 }