libsodium recipe

Port Libsodium to redox
This commit is contained in:
MggMuggins 2018-06-01 21:59:07 -05:00
parent 3174730a8d
commit 5e745da82e

View File

@ -0,0 +1,36 @@
VERSION=1.0.16
TAR=https://github.com/jedisct1/libsodium/archive/${VERSION}.tar.gz
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
# Disclaimer: No idea what I'm doing
./autogen.sh
./configure --host=${HOST} --prefix='/'
make
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
make clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
skip=1
}