mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 03:44:18 +08:00
libsodium recipe
Port Libsodium to redox
This commit is contained in:
parent
3174730a8d
commit
5e745da82e
36
recipes/libsodium/recipe.sh
Normal file
36
recipes/libsodium/recipe.sh
Normal 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
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user