void-packages/srcpkgs/libidn/template
2020-07-27 13:41:46 -04:00

31 lines
896 B
Bash

# Template file for 'libidn'
pkgname=libidn
version=1.36
revision=1
build_style=gnu-configure
configure_args="--disable-csharp --disable-java --disable-static
--enable-threads=posix"
hostmakedepends="autoconf-archive automake gettext-devel libtool perl pkg-config"
short_desc="Internationalized string handling library"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.gnu.org/software/libidn/"
distfiles="${GNU_SITE}/libidn/libidn-${version}.tar.gz"
checksum=14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038
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"
}
}