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