Skip to content
Snippets Groups Projects
Verified Commit 0cdf0867 authored by jD91mZM2's avatar jD91mZM2
Browse files

Add ncdu recipe

parent 9c7a0fdf
No related branches found
No related tags found
1 merge request!145Add ncdu recipe
VERSION=1.13
TAR=https://dev.yorhel.nl/download/ncdu-$VERSION.tar.gz
BUILD_DEPENDS=(ncurses)
DEPENDS=(terminfo)
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$PWD/../sysroot"
export LDFLAGS="-L$sysroot/lib"
export CPPFLAGS="-I$sysroot/include -I$sysroot/include/ncurses"
./configure \
--build x86_64-pc-linux-gnu \
--host "$HOST"
make
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_stage {
dest="$(realpath "$1")"
echo "$dest"
make DESTDIR="$dest" install
skip=1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment