libidn: fix build via autoreconf and update -devel pkg deps.

This commit is contained in:
Juan RP 2014-01-11 10:35:41 +01:00
parent 8e66031b0e
commit 2963e21ea0
1 changed files with 7 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# Template build file for 'libidn'.
pkgname=libidn
version=1.28
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-csharp --disable-java --disable-static --enable-threads=posix"
hostmakedepends="perl pkg-config automake"
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/"
@ -12,8 +12,12 @@ license="GPL-3, LGPL-2.1"
distfiles="http://ftp.gnu.org/gnu/libidn/libidn-${version}.tar.gz"
checksum=dd357a968449abc97c7e5fa088a4a384de57cb36564f9d4e0d898ecc6373abfb
pre_configure() {
autoreconf -fi
}
libidn-devel_package() {
depends="libidn>=${version}"
depends="libidn>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include