void-packages/srcpkgs/libidn/template
2015-07-09 07:50:16 +02:00

30 lines
863 B
Bash

# Template build file for 'libidn'.
pkgname=libidn
version=1.31
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@voidlinux.eu>"
homepage="http://www.gnu.org/software/libidn/"
license="GPL-3, LGPL-2.1"
distfiles="${GNU_SITE}/libidn/libidn-${version}.tar.gz"
checksum=afdf2fce91faea483ce24e26b5e3a9235e332029c9265d07214fd1cfaa08df08
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"
}
}