wok-next view libical/receipt @ rev 20569

Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 07:14:16 2018 +0300 (2018-04-13)
parents 8f447cf2eee5
children b1a1deb20f42
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libical"
4 VERSION="2.0.0"
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/libical/libical/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="cmake perl db-dev gobject-introspection-dev"
15 SPLIT="libical-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/stable/general/libical.html
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 && make install || return 1
30 docdir="$install/usr/share/doc/$PACKAGE-$VERSION"
31 mkdir -p $docdir
32 cp -r $src/doc/UsingLibical.txt $docdir
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 libical) copy @std;;
40 *-dev) copy @dev;;
41 esac
42 }