wok-next view libical/receipt @ rev 20667

qemu/qemu-light: race condition, ppp/sane-backends: set group
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 09:27:12 2018 +0200 (2018-05-11)
parents 2e9df1b30cc2
children f48456621a9d
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/stable/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 }