void-packages/srcpkgs/libical/template

35 lines
865 B
Plaintext
Raw Normal View History

# Template build file for 'libical'.
pkgname=libical
2010-11-08 16:21:50 +01:00
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"
2010-11-08 16:21:50 +01:00
checksum=000762efb81501421d94ec56343648a62b3bd2884e7cdf6f638e2c207dd8f6a1
pre_configure() {
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" -i configure.in
./bootstrap
2010-11-08 16:21:50 +01: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
}
}