Commit fe5eccda authored by Armando I. Rivera's avatar Armando I. Rivera

Added autodetection of armhf and amd64 and correct required libraries for each.

parent 36775501
......@@ -8,10 +8,17 @@ MKTMP=$(mktemp -d)
OUTPUT="$NAME-$VERSION-${OS,,}-$ARCH"
DEST="$MKTMP/$OUTPUT/usr/local"
case $ARCH in
"armfh")
DEPENDS="libcurl3-gnutls, libiodbc2, libmariadbclient18, libncurses5, libsqlite3-0, libssl1.1";;
"amd64")
DEPENDS="libcurl3-gnutls, libiodbc2, libmysqlclient20, libncurses5, libsqlite3-0, libssl1.0.0";;
esac
CONTROL="Package: $OUTPUT
Version: 2.1-1
Architecture: $ARCH
Depends: libcurl3-gnutls, libiodbc2, libmariadbclient18, libncurses5, libsqlite3-0, libssl1.1
Depends: $DEPENDS
Maintainer: support@scriptbasic.org
Description: Basic Scripting Language
"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment