void-packages/srcpkgs/libidn/template
2014-08-13 09:13:23 +02:00

30 lines
871 B
Text

# Template build file for 'libidn'.
pkgname=libidn
version=1.29
revision=1
build_style=gnu-configure
configure_args="--disable-csharp --disable-java --disable-static --enable-threads=posix"
hostmakedepends="perl pkg-config automake libtool gettext-devel"
short_desc="Internationalized string handling library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/libidn/"
license="GPL-3, LGPL-2.1"
distfiles="http://ftp.gnu.org/gnu/libidn/libidn-${version}.tar.gz"
checksum=fb82747dbbf9b36f703ed27293317d818d7e851d4f5773dedf3efa4db32a7c7c
pre_configure() {
autoreconf -fi
}
libidn-devel_package() {
depends="libidn>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove usr/share/emacs
vmove usr/share/info
vmove "usr/lib/*.so"
}
}