summaryrefslogtreecommitdiff
path: root/repo/core/libxcrypt.xibuild
blob: a4b5a3e7ab58157e50cc281685db79a464a05bcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}