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

# source: BLFS 8.2
TARBALL=libidn2-$PKGVER.tar.gz
MD5SUM=841ebea41f9f10e07e014ab0a874ed8e
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: This contains 32-bit version of the library.
libidn2_32: 
libidn2_32: This contains 32-bit version of the library.
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
}

