summaryrefslogtreecommitdiff
path: root/repo/system/libxcrypt.xibuild
blob: 5424dec06b5a25a78536dd79e31adbdd0399429c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

MAKEDEPS=(make )
DEPS=(glibc)

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
    
    # this is probably wrong
    ln $PKG_DEST/usr/lib/libcrypt.so $PKG_DEST/usr/lib/libcrypt.so.2
}