This was breaking ASLR builds.
Fixed license tag.
Added PKG_BUILD_PARALLEL for faster compilation.
Small Makefile cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from
43f811ad5b3869ec5fa50259e498feae8abfb9f0)
PKG_NAME:=libpbc
PKG_VERSION:=0.5.14
-PKG_RELEASE:=1
-PKG_HASH:=772527404117587560080241cedaf441e5cac3269009cdde4c588a1dce4c23d2
+PKG_RELEASE:=2
PKG_SOURCE:=pbc-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://crypto.stanford.edu/pbc/files/
+PKG_HASH:=772527404117587560080241cedaf441e5cac3269009cdde4c588a1dce4c23d2
PKG_BUILD_DIR:=$(BUILD_DIR)/pbc-$(PKG_VERSION)
-PKG_INSTALL:=1
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
-PKG_LICENSE:=LGPL-3.0+
+PKG_LICENSE:=LGPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING
+PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
+
include $(INCLUDE_DIR)/package.mk
define Package/libpbc
--- /dev/null
+--- a/configure.ac
++++ b/configure.ac
+@@ -10,7 +10,6 @@ AC_CONFIG_SRCDIR([./])
+ LT_INIT
+ #AC_CANONICAL_HOST
+
+-CFLAGS=
+ default_fink_path=/sw
+ case $host_os in
+ darwin*)