void-packages/srcpkgs/libidn/template
2015-04-12 09:21:57 +02:00

30 lines
874 B
Bash

# Template build file for 'libidn'.
pkgname=libidn
version=1.30
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="http://ftp.gnu.org/gnu/libidn/libidn-${version}.tar.gz"
checksum=39b9fc94d74081c185757b12e0891ce5a22db55268e7d1bb24533ff4432eb053
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"
}
}