gdbm: Update to 1.18.1

Fixes compilation with -Werror=implicit-function-declaration

This has received no version updates for over 5 years.

Cleaned up Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-07-02 13:07:52 -07:00
parent 50abfa2fd7
commit 83234d13ea
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 7 additions and 11 deletions

View File

@ -8,21 +8,19 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=gdbm PKG_NAME:=gdbm
PKG_VERSION:=1.11 PKG_VERSION:=1.18.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/gdbm PKG_SOURCE_URL:=@GNU/gdbm
PKG_HASH:=8d912f44f05d0b15a4a5d96a76f852e905d051bb88022fcdfd98b43be093e3c3 PKG_HASH:=86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc
PKG_LICENSE:=GPL-3.0+
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net> PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf gettext-version PKG_INSTALL:=1
PKG_REMOVE_FILES:=Makefile compat/Makefile doc/Makefile export/Makefile src/Makefile tests/Makefile
PKG_BUILD_PARALLEL:=0 PKG_BUILD_PARALLEL:=0
PKG_BUILD_DEPENDS:=gettext-full/host PKG_BUILD_DEPENDS:=gettext-full/host
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -31,7 +29,7 @@ define Package/libgdbm
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=GNU database manager TITLE:=GNU database manager
URL:=http://www.gnu.org/software/gdbm/ URL:=https://www.gnu.org/software/gdbm/
endef endef
define Package/libgdbm/description define Package/libgdbm/description
@ -40,11 +38,9 @@ define Package/libgdbm/description
works similar to the standard UNIX dbm routines. works similar to the standard UNIX dbm routines.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static
define Build/Compile define Build/Compile
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \