summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-06 09:38:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-06 09:38:59 +0000
commit78505276a741e915754d2352408e3a359cd3e383 (patch)
treeae71f89baf963c2b45e4313bc1cabaff48678647
parent55869c25f8f54891d9e30fb8795ea2dc7eb2a19b (diff)
downloadaports-78505276a741e915754d2352408e3a359cd3e383.tar.bz2
aports-78505276a741e915754d2352408e3a359cd3e383.tar.xz
main/libical: upgrade to 1.0.1
-rw-r--r--main/libical/APKBUILD29
1 files changed, 10 insertions, 19 deletions
diff --git a/main/libical/APKBUILD b/main/libical/APKBUILD
index 38c2d87bf..9cb26b907 100644
--- a/main/libical/APKBUILD
+++ b/main/libical/APKBUILD
@@ -1,15 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libical
-pkgver=1.0
+pkgver=1.0.1
pkgrel=0
pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
url="http://sourceforge.net/projects/freeassociation/"
arch="all"
license="LGPL MPL"
depends=
-makedepends="perl autoconf automake libtool"
+makedepends="perl cmake"
subpackages="$pkgname-dev"
-source="http://downloads.sourceforge.net/freeassociation/$pkgname-$pkgver.tar.gz automake.patch"
+source="https://github.com/libical/libical/releases/download/v1.0.1/libical-$pkgver.tar.gz"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
@@ -22,31 +22,22 @@ prepare() {
;;
esac
done
- aclocal && autoheader && autoconf && automake -a || return 1
- libtoolize --force
}
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --enable-shared \
- --disable-static \
+ cmake -DCMAKE_RELEASE_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSHARED_ONLY=true \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
- make -j1 DESTDIR="$pkgdir" install
- rm "$pkgdir"/usr/lib/*.la
+ make DESTDIR="$pkgdir" install
}
-md5sums="4438c31d00ec434f02867a267a92f8a1 libical-1.0.tar.gz
-79a2ea148f8c6b2a2337ecff296287cb automake.patch"
-sha256sums="7c39b3448e4927a2de2775d853f52b3aaeb42400970a3db0b01a78987e6ec0b7 libical-1.0.tar.gz
-414fc45f07e7723286459a6577e3bf9a80554140aadf3f8534b79edcc457c121 automake.patch"
-sha512sums="4764b08c9a57e867884aae4eb9b9dce53df7abebbbde7190caf4d62bdb223eed57945ac8233029b1d253afc173437363264ce8f75ccbfb2af0bb64dafdd3cec4 libical-1.0.tar.gz
-5caca70f2c52647a31c51b844462efd0ca7d6de59bf6d3a8bf03f76f944d2602f12743b6e2c90498970c372c10619410a0a323e13cbdd97be9dce54136236a17 automake.patch"
+md5sums="d26a58149aaae9915fa79fb35c8de6fc libical-1.0.1.tar.gz"
+sha256sums="089ce3c42d97fbd7a5d4b3c70adbdd82115dd306349c1f5c46a8fb3f8c949592 libical-1.0.1.tar.gz"
+sha512sums="dfdd9b9b3c01aa9ce40ae38fe3c7339eae33e48f60f86bd627e0dbe9c8270b95fb15c0ff0684a22d6e9be163b41d4c87ff0f7a49adcd0baac127d16c8c21d020 libical-1.0.1.tar.gz"