wok-next view libical/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents b1a1deb20f42
children d5aab818505e
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="erjo@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 BUILD_DEPENDS="cmake perl db-dev glib-dev gobject-introspection-dev libxml2-dev"
16 SPLIT="libical-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DSHARED_ONLY=yes \
25 .. &&
26 make &&
27 make install || return 1
29 cook_pick_docs $src/doc/UsingLibical.txt
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libical)
35 copy @std
36 DEPENDS="glib libdb"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="libical glib-dev"
41 ;;
42 esac
43 }