# Description: Extended crypt library for descrypt, md5crypt, bcrypt, and others # URL: https://github.com/besser82/libxcrypt # Maintainer: CRUX System Team, core-ports at crux dot nu # Depends on: glibc name=libxcrypt version=4.4.36 release=1 source=(https://github.com/besser82/libxcrypt/releases/download/v$version/$name-$version.tar.xz) build() { cd $name-$version ./configure --prefix=/usr \ --libdir=/usr/lib \ --enable-hashes=strong,glibc \ --enable-obsolete-api=no \ --enable-shared \ --enable-static \ --with-pkgconfigdir=/usr/lib/pkgconfig \ --disable-failure-tokens \ --disable-silent-rules \ --disable-valgrind make make DESTDIR=$PKG install rm -r $PKG/usr/share/man/man3/{crypt,crypt_r}.3 }