diff options
Diffstat (limited to 'repo/system/libxcrypt.xibuild')
-rw-r--r-- | repo/system/libxcrypt.xibuild | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/system/libxcrypt.xibuild b/repo/system/libxcrypt.xibuild new file mode 100644 index 0000000..a4b5a3e --- /dev/null +++ b/repo/system/libxcrypt.xibuild @@ -0,0 +1,19 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/besser82/libxcrypt/releases/download/v4.4.26/libxcrypt-4.4.26.tar.xz +DESC="A modern library for one-way hashing of passwords" + +build () { + CC=gcc ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} + +package () { + # this is probably wrong + ln $PKG_DEST/usr/lib/libcrypt.so $PKG_DEST/usr/lib/libcrypt.so.2 +} + + |