wok-next annotate libical/receipt @ rev 20992
eduke32: simplify bdeps, fix build for i486
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 04 11:45:29 2018 +0300 (2018-10-04) |
parents | 2e9df1b30cc2 |
children | f48456621a9d |
rev | line source |
---|---|
al@19850 | 1 # SliTaz package receipt v2. |
erjo@4741 | 2 |
erjo@4741 | 3 PACKAGE="libical" |
al@20659 | 4 VERSION="3.0.1" |
erjo@4741 | 5 CATEGORY="system-tools" |
al@19850 | 6 SHORT_DESC="iCalendar library implementation in C" |
erjo@4741 | 7 MAINTAINER="erjo@slitaz.org" |
al@19850 | 8 LICENSE="MPL LGPL2.1" |
al@19850 | 9 WEB_SITE="https://github.com/libical" |
al@20659 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libical.html" |
al@19850 | 11 |
erjo@4741 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19850 | 13 WGET_URL="https://github.com/libical/libical/releases/download/v$VERSION/$TARBALL" |
erjo@4741 | 14 |
al@20659 | 15 BUILD_DEPENDS="cmake perl db-dev glib-dev gobject-introspection-dev libxml2-dev" |
al@19850 | 16 SPLIT="libical-dev" |
pascal@15473 | 17 |
al@20659 | 18 compile_rules() { |
al@20659 | 19 mkdir build |
al@20659 | 20 cd build |
al@19850 | 21 cmake \ |
al@19850 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19850 | 23 -DCMAKE_BUILD_TYPE=Release \ |
al@19850 | 24 -DSHARED_ONLY=yes \ |
al@19850 | 25 .. && |
al@20659 | 26 make && |
al@20659 | 27 make install || return 1 |
al@19850 | 28 |
al@20659 | 29 cook_pick_docs $src/doc/UsingLibical.txt |
erjo@4741 | 30 } |
erjo@4741 | 31 |
al@20659 | 32 genpkg_rules() { |
al@19850 | 33 case $PACKAGE in |
al@20659 | 34 libical) |
al@20659 | 35 copy @std |
al@20659 | 36 DEPENDS="glib libdb" |
al@20659 | 37 ;; |
al@20659 | 38 *-dev) |
al@20659 | 39 copy @dev |
al@20659 | 40 DEPENDS="libical glib-dev" |
al@20659 | 41 ;; |
al@19850 | 42 esac |
erjo@4741 | 43 } |