milis/talimatname/genel/a/argon2/talimat

20 lines
606 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Şifre Karma Yarışması'nı (PHC) kazanan şifre karma işlevi olan Argon2'nin referans C uygulamasıdır.
# URL: https://github.com/P-H-C/phc-winner-argon2
# Paketçi: milisarge
# Gerekler:
# Grup: kütüphane
isim=argon2
surum=20161029
devir=1
kaynak=(https://github.com/P-H-C/phc-winner-argon2/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd phc-winner-argon2-$surum
sed -i "/^#/d;s/\/@HOST_MULTIARCH@//g;s/@UPSTREAM_VER@/$surum/g" libargon2.pc
sed -i '1d' libargon2.pc
make -j1
make DESTDIR="$PKG" install
install -Dm644 libargon2.pc $PKG/usr/lib/pkgconfig/libargon2.pc
}