milis/talimatname/genel/a/argon2/talimat

20 lines
606 B
Plaintext
Raw Normal View History

2018-08-17 14:34:43 +02:00
# Tanım: Şifre Karma Yarışması'nı (PHC) kazanan şifre karma işlevi olan Argon2'nin referans C uygulamasıdır.
2017-12-22 22:59:36 +01:00
# URL: https://github.com/P-H-C/phc-winner-argon2
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
2017-12-22 22:59:36 +01:00
# Gerekler:
# Grup: kütüphane
2017-07-25 03:37:31 +02:00
2017-10-28 14:10:23 +02:00
isim=argon2
surum=20161029
devir=1
kaynak=(https://github.com/P-H-C/phc-winner-argon2/archive/$surum.tar.gz::$isim-$surum.tar.gz)
2017-07-25 03:37:31 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd phc-winner-argon2-$surum
sed -i "/^#/d;s/\/@HOST_MULTIARCH@//g;s/@UPSTREAM_VER@/$surum/g" libargon2.pc
2017-07-25 03:37:31 +02:00
sed -i '1d' libargon2.pc
make -j1
make DESTDIR="$PKG" install
install -Dm644 libargon2.pc $PKG/usr/lib/pkgconfig/libargon2.pc
}