blob: 7ad9ffd252c5a921296f15e16c41da8422b697e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libical
pkgver=1.0
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"
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/freeassociation/$pkgname-$pkgver.tar.gz automake.patch"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
for i in $source; do
case $i in
*.patch)
msg "Applying $i"
patch -p1 -i "$srcdir"/$i || return 1
;;
esac
done
aclocal && autoheader && autoconf && automake -a || return 1
libtoolize --force
}
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--enable-shared \
--disable-static \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make -j1 DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/*.la
}
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"
|