uname is not safe for cross compilation.
Also fixed up download file name to avoid potential conflicts.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
PKG_NAME:=acsccid
PKG_VERSION:=1.1.8
-PKG_RELEASE:=1
+PKG_RELEASE:=2
-PKG_SOURCE:=v$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/acshk/acsccid/archive/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://codeload.github.com/acshk/acsccid/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=68d15eb20e7f52153509f1dc300cf0c68b388c59d7d124ba494fd96c61a6e7c6
+
PKG_MAINTAINER:=Vincent JARDIN <vjardin@free.fr>
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=libtool
PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
--- /dev/null
+--- a/configure.ac
++++ b/configure.ac
+@@ -84,7 +84,7 @@ AC_CHECK_FUNCS(select strerror strncpy m
+ # Select OS specific versions of source files.
+ AC_SUBST(BUNDLE_HOST)
+ AC_SUBST(DYN_LIB_EXT)
+-BUNDLE_HOST=`uname | sed -e s,/,_,`
++BUNDLE_HOST=Linux
+ DYN_LIB_EXT="so"
+ case "$BUNDLE_HOST" in
+ Darwin)