void-packages/srcpkgs/libidn/template

31 lines
896 B
Bash

# Template file for 'libidn'
pkgname=libidn
version=1.35
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="Orphaned <orphan@voidlinux.org>"
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=f11af1005b46b7b15d057d7f107315a1ad46935c7fcdf243c16e46ec14f0fe1e
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"
}
}