wok-next view libical/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libical"
4 VERSION="3.0.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="iCalendar library implementation in C"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 WEB_SITE="https://github.com/libical"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libical.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/libical/libical/releases/download/v$VERSION/$TARBALL"
15 COOKOPTS="force-arch" # different .cmake
17 BUILD_DEPENDS="cmake perl db-dev glib-dev gobject-introspection-dev libxml2-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 mkdir build
22 cd build
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DCMAKE_BUILD_TYPE=Release \
26 -DSHARED_ONLY=yes \
27 .. &&
28 make &&
29 make install || return 1
31 cook_pick_docs $src/doc/UsingLibical.txt
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 libical)
37 copy @std
38 DEPENDS="glib libdb"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libical glib-dev"
43 ;;
44 esac
45 }