Files
ports/core/libxcrypt/spkgbuild
2023-10-08 06:22:03 +00:00

21 lines
454 B
Plaintext

# description : Modern library for one-way hashing of passwords
# depends : glibc
name=libxcrypt
version=4.4.36
release=1
source="https://github.com/besser82/${name}/archive/v${version}/${name}-${version}.tar.gz"
build() {
cd ${name}-${version}
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr \
--disable-static \
--enable-hashes=strong,glibc \
--enable-obsolete-api=no \
--disable-failure-tokens
make
make DESTDIR="$PKG" install
}