32 lines
875 B
Bash
32 lines
875 B
Bash
# Template file for 'libidn2'
|
|
pkgname=libidn2
|
|
version=2.1.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake gettext-devel libtool pkg-config"
|
|
makedepends="libunistring-devel"
|
|
short_desc="Internationalized string handling library"
|
|
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
|
license="GPL-3.0-or-later, LGPL-3.0-or-later"
|
|
homepage="https://www.gnu.org/software/libidn/#libidn2"
|
|
distfiles="${GNU_SITE}/libidn/libidn2-${version}.tar.gz"
|
|
checksum=032398dbaa9537af43f51a8d94e967e3718848547b1b2a4eb3138b20cad11d32
|
|
|
|
pre_configure() {
|
|
autoreconf -if
|
|
}
|
|
|
|
libidn2-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/man/man3
|
|
vmove usr/share/gtk-doc
|
|
vmove usr/share/info
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|