mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-07 20:18:51 +08:00
commit
f2f0d4eba5
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