aboutsummaryrefslogtreecommitdiffstats
path: root/main/libical/APKBUILD
blob: dcb58ef9cb2c0d0a8a244474b48987f6c362d1e5 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libical
pkgver=0.46
pkgrel=0
pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
url="http://sourceforge.net/projects/freeassociation/"
license="LGPL MPL"
depends=
makedepends="perl autoconf automake libtool"
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/freeassociation/$pkgname-$pkgver.tar.gz"

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	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
}
md5sums="9c08f88945bfd5d0791d102e4aa4125c  libical-0.46.tar.gz"