diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-13 02:38:21 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-13 02:38:21 -0500 |
commit | ff4cd7d31f2a18039e2ce40960a595d7628f566a (patch) | |
tree | 141df693f728293177a0aa94ccc800bb71e34252 | |
parent | 077e0feee979492662f5e9a226fdf0b986c51fed (diff) | |
download | packages-ff4cd7d31f2a18039e2ce40960a595d7628f566a.tar.gz packages-ff4cd7d31f2a18039e2ce40960a595d7628f566a.tar.bz2 packages-ff4cd7d31f2a18039e2ce40960a595d7628f566a.tar.xz packages-ff4cd7d31f2a18039e2ce40960a595d7628f566a.zip |
user/libical: bump to new 3.x series, enable test suite
-rw-r--r-- | user/libical/APKBUILD | 34 | ||||
-rw-r--r-- | user/libical/automake.patch | 11 |
2 files changed, 45 insertions, 0 deletions
diff --git a/user/libical/APKBUILD b/user/libical/APKBUILD new file mode 100644 index 000000000..8f771227f --- /dev/null +++ b/user/libical/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: +pkgname=libical +pkgver=3.0.3 +pkgrel=0 +pkgdesc="Reference implementation of the iCalendar format" +url="https://libical.github.io/libical/" +arch="all" +#options="!check" # Test suite is very broken. +license="MPL-2.0 OR LGPL-2.1-only" +depends="" +makedepends="cmake libxml2-dev perl" +subpackages="$pkgname-dev" +source="https://github.com/libical/libical/releases/download/v$pkgver/libical-$pkgver.tar.gz" + +build() { + cd "$builddir" + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DSHARED_ONLY=true + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="ed8e7917e37abbe426a06b4ae049a365e66542b1258ba22ebacbe842bda883d0fe591e65574fd954da531d6414a7b13e84fa28a20e7b08836679107f615df27a libical-3.0.3.tar.gz" diff --git a/user/libical/automake.patch b/user/libical/automake.patch new file mode 100644 index 000000000..757220a62 --- /dev/null +++ b/user/libical/automake.patch @@ -0,0 +1,11 @@ +--- ./configure.in.orig 2012-12-31 20:03:51.355227119 +0000 ++++ ./configure.in 2012-12-31 20:04:03.445327143 +0000 +@@ -5,7 +5,7 @@ + AC_CANONICAL_SYSTEM + AM_INIT_AUTOMAKE + +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADER(config.h) + + dnl Initialize maintainer mode + AM_MAINTAINER_MODE |