1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#!/bin/sh NAME="libsodium" DESC="P(ortable|ackageable) NaCl-based crypto library" MAKEDEPS="" PKG_VER=1.0.18 SOURCE="https://download.libsodium.org/libsodium/releases/libsodium-$PKG_VER.tar.gz" build() { ./configure \ --prefix=/usr make } check() { make check } package() { make DESTDIR="$PKG_DEST" install }