summaryrefslogtreecommitdiff
path: root/repo/libxcrypt/libxcrypt.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libxcrypt/libxcrypt.xibuild')
-rw-r--r--repo/libxcrypt/libxcrypt.xibuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/libxcrypt/libxcrypt.xibuild b/repo/libxcrypt/libxcrypt.xibuild
new file mode 100644
index 0000000..ec931e1
--- /dev/null
+++ b/repo/libxcrypt/libxcrypt.xibuild
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="musl perl"
+
+PKG_VER=4.4.26
+SOURCE=https://github.com/besser82/libxcrypt/releases/download/v$PKG_VER/libxcrypt-$PKG_VER.tar.xz
+DESC="A modern library for one-way hashing of passwords"
+
+build () {
+ CC=gcc ./configure --prefix=/usr
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
+
+