libs: file: bump to 5.37
[feed/packages.git] / libs / file / Makefile
index e631d957e069233db6b58d8c53316d70a2c01333..d18ca7b9492061e9d0285e4b56c5b86d3533f036 100644 (file)
@@ -8,14 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=file
-PKG_VERSION:=5.34
+PKG_VERSION:=5.37
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://pkgs.fedoraproject.org/lookaside/pkgs/file/ \
+PKG_SOURCE_URL:=https://src.fedoraproject.org/lookaside/pkgs/file/ \
        http://download.openpkg.org/components/cache/file/ \
        ftp://ftp.astron.com/pub/file/
-PKG_HASH:=f15a50dbbfa83fec0bd1161e8e191b092ec832720e30cd14536e044ac623b20a
+PKG_HASH:=e9c13967f7dd339a3c241b7710ba093560b9a33013491318e88e6b8b57bae07f
 
 PKG_LICENSE:=BSD-2c
 PKG_LICENSE_FILES:=COPYING
@@ -47,15 +47,19 @@ $(call Package/file/Default)
   DEPENDS:=+zlib
 endef
 
+TARGET_CFLAGS += $(FPIC)
+TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
+
 CONFIGURE_ARGS += \
        --enable-shared \
        --enable-static \
-       --disable-libseccomp
+       --disable-libseccomp \
+       --disable-rpath \
+       --disable-warnings \
+       --without-pic
 
 MAKE_PATH := src
 
-TARGET_CFLAGS += $(FPIC)
-
 define Build/Compile/magic
        ( cd $(PKG_BUILD_DIR)/magic/Magdir; \
                for f in `ls`; do \