VERSION="3.4" SRCDIR="nettle-${VERSION}" TARBALL="${SRCDIR}.tar.gz" URL="https://ftp.gnu.org/gnu/nettle/" SHA256SUM="ae7a42df026550b85daca8389b6a60ba6313b0567f374392e54918588a411e94" DEPENDS="gmp" prepare() { return } build() { $1/configure --prefix="" --host="$TARGET" --disable-static make -j $NUMJOBS } deploy() { local SOURCE="$1" local DEPLOY="$2" make DESTDIR="$DEPLOY" install } check_update() { curl --silent -L "$URL" | grep -o ">nettle-[0-9.]*tar.gz<" | \ sed 's/>nettle-//g' | sed 's/.tar.gz