### this file is sourced not run
PKGVER=2.3.4
PKGBUILD=1
PKGARCH=i686

# source: BLFS 11.3
TARBALL=libidn2-$PKGVER.tar.gz
MD5SUM=a12109804fc9c5d7fb31f068c66655b8
SRC_URL=https://ftp.gnu.org/gnu/libidn/$TARBALL
BUNDLE=

SLACKREQ='libunistring32' 
SLACKDESC="libidn2_32: libidn2_32 $PKGVER (International Domain Name)
libidn2_32: 
libidn2_32: libidn2 is a package designed for internationalized string handling 
libidn2_32: based on standards from the Internet Engineering Task Force (IETF)'s 
libidn2_32: IDN working group, designed for internationalized domain names.
libidn2_32: 
libidn2_32: This is version 2 of the library.
libidn2_32: It can be co-exist with version 1 of libidn.
libidn2_32: This contains 32-bit version of the library.
libidn2_32: 
libidn2_32: https://www.gnu.org/software/libidn/
libidn2_32: 
"

### default pkg_download
### default prepare

### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share etc
}

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf &&
	pkg_build_slackdesc
}

