2010-04-12 21:19:40 +02:00
|
|
|
# Template build file for 'libical'.
|
|
|
|
pkgname=libical
|
2010-11-08 16:21:50 +01:00
|
|
|
version=0.46
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=4
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2010-04-12 21:19:40 +02:00
|
|
|
configure_args="--enable-shared"
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="flex automake libtool"
|
2010-04-12 21:19:40 +02:00
|
|
|
short_desc="Reference implementation of the iCalendar data type and format"
|
2013-03-29 21:21:57 +01:00
|
|
|
homepage="http://sourceforge.net/projects/freeassociation/"
|
|
|
|
license="LGPL-2.1, MPL-1"
|
2010-04-12 21:19:40 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-13 10:15:49 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/freeassociation/$pkgname-$version.tar.gz"
|
2010-11-08 16:21:50 +01:00
|
|
|
checksum=000762efb81501421d94ec56343648a62b3bd2884e7cdf6f638e2c207dd8f6a1
|
2010-04-12 21:19:40 +02:00
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
pre_configure() {
|
2013-03-29 21:21:57 +01:00
|
|
|
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" -i configure.in
|
|
|
|
./bootstrap
|
2010-11-08 16:21:50 +01:00
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libical-devel_package() {
|
|
|
|
depends="libical>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libical_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|