smlinux/base/argon2/smbuild
PktSurf e10666c40c Added /usr prefix to base/argon2
Repacked rust toolchain and source in lzip file format
Added mozilla-nss to base
Updated base section build list
2024-11-05 13:11:47 +05:30

30 lines
788 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=argon2
version=20190702
build=1sml
homepage="https://github.com/P-H-C/phc-winner-argon2"
download="https://github.com/P-H-C/phc-winner-argon2/archive/refs/tags/$version.tar.gz"
desc="A password hashing function written in C"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
make OPTTARGET="none" LIBRARY_REL="lib" PREFIX=/usr
make OPTTARGET="none" LIBRARY_REL="lib" PREFIX=/usr install DESTDIR=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
c79eb9f333f62f37d977aaf0ff9f09dd9d177727b91b0438ffbcec6e34150aebc8ae6c10bb10dbf122c9a4c59bee1feed6b946ba0c28f4f12faf6a847deb7c2d argon2-20190702.tar.lz
"