Browse Source

libgpg-error: Update to 1.34

Remove FPIC as it is already default. Both fPIC and DPIC are passed.

Some extra configure arguments to speed up build times.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 6 years ago
parent
commit
b468d5cf57
2 changed files with 12 additions and 8 deletions
  1. +11
    -7
      libs/libgpg-error/Makefile
  2. +1
    -1
      libs/libgpg-error/patches/001-cross-compile-fix.patch

+ 11
- 7
libs/libgpg-error/Makefile View File

@ -8,12 +8,15 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libgpg-error PKG_NAME:=libgpg-error
PKG_VERSION:=1.33
PKG_VERSION:=1.34
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://www.gnupg.org/ftp/gcrypt/libgpg-error/
PKG_HASH:=5d38826656e746c936e7742d9cde072b50baa3c4c49daa168a56813612bf03ff
PKG_SOURCE_URL:=https://ftp.bit.nl/mirror/gnupg/ \
https://ftp.nluug.nl/security/gnupg/ \
http://ring.ksc.gr.jp/archives/net/gnupg/libgpg-error/ \
https://www.gnupg.org/ftp/gcrypt/libgpg-error/
PKG_HASH:=0680799dee71b86b2f435efb825391eb040ce2704b057f6bd3dcc47fbc398c81
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
PKG_LICENSE:=LGPL-2.1+ PKG_LICENSE:=LGPL-2.1+
@ -30,7 +33,7 @@ define Package/libgpg-error
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=GnuPG error handling helper library TITLE:=GnuPG error handling helper library
URL:=http://www.gnupg.org/related_software/libgpg-error/
URL:=https://www.gnupg.org/related_software/libgpg-error/
endef endef
define Package/libgpg-error/description define Package/libgpg-error/description
@ -41,12 +44,13 @@ define Package/libgpg-error/description
future. future.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
--disable-rpath
--disable-doc \
--disable-languages \
--disable-rpath \
--disable-tests
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(2)/bin $(1)/usr/bin $(INSTALL_DIR) $(2)/bin $(1)/usr/bin


+ 1
- 1
libs/libgpg-error/patches/001-cross-compile-fix.patch View File

@ -8,7 +8,7 @@
+ x86_64-openwrt-linux-gnu|i?86-openwrt-linux-gnu) + x86_64-openwrt-linux-gnu|i?86-openwrt-linux-gnu)
+ host=$(echo $host | sed 's/openwrt/pc/g') + host=$(echo $host | sed 's/openwrt/pc/g')
+ ;; + ;;
+ arm-openwrt-linux-gnu)
+ arm-openwrt-linux-gnu|armeb-openwrt-linux-gnu)
+ host=arm-unknown-linux-gnueabi + host=arm-unknown-linux-gnueabi
+ ;; + ;;
+ *) + *)


Loading…
Cancel
Save