void-packages/srcpkgs/libical/template

28 lines
810 B
Text

# Template build file for 'libical'.
pkgname=libical
version=0.46
revision=4
build_style=gnu-configure
configure_args="--enable-shared"
hostmakedepends="flex automake libtool"
short_desc="Reference implementation of the iCalendar data type and format"
homepage="http://sourceforge.net/projects/freeassociation/"
license="LGPL-2.1, MPL-1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/freeassociation/$pkgname-$version.tar.gz"
checksum=000762efb81501421d94ec56343648a62b3bd2884e7cdf6f638e2c207dd8f6a1
pre_configure() {
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" -i configure.in
./bootstrap
}
libical-devel_package() {
depends="libical>=${version}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}