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

TARBALL=libxcrypt-$PKGVER.tar.xz
MD5SUM=25e888919ddcd153a07daa95224fa436
BUNDLE=
SRC_URL=https://github.com/besser82/libxcrypt/releases/download/v$PKGVER/$TARBALL

SLACKREQ=
SLACKDESC="libxcrypt32: libxcrypt32 $PKGVER (password hash library)
libxcrypt32: 
libxcrypt32: libxcrypt is a modern library for one-way hashing of passwords. It 
libxcrypt32: supports a wide variety of both modern and historical hashing 
libxcrypt32: methods: yescrypt, gost-yescrypt, sm3-yescrypt, scrypt, bcrypt, 
libxcrypt32: sha512crypt, sha256crypt, sm3crypt, md5crypt, SunMD5, sha1crypt, NT, 
libxcrypt32: bsdicrypt, bigcrypt, and descrypt. It is intended to be used by 
libxcrypt32: login(1), passwd(1), and other similar programs.
libxcrypt32: 
libxcrypt32: This package contains the 32-bit library.
libxcrypt32: 
"

### override download for LFS sources bundle
#pkg_download() {
#	pkg_download_bundle
#}

### default pkg_prepare 

### package
pkg_package() {
	rm -rf ./usr/bin ./usr/include ./usr/share
}

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