|
@ -8,14 +8,14 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=file |
|
|
PKG_NAME:=file |
|
|
PKG_VERSION:=5.35 |
|
|
|
|
|
|
|
|
PKG_VERSION:=5.36 |
|
|
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:=https://src.fedoraproject.org/lookaside/pkgs/file/ \
|
|
|
PKG_SOURCE_URL:=https://src.fedoraproject.org/lookaside/pkgs/file/ \
|
|
|
http://download.openpkg.org/components/cache/file/ \
|
|
|
http://download.openpkg.org/components/cache/file/ \
|
|
|
ftp://ftp.astron.com/pub/file/ |
|
|
ftp://ftp.astron.com/pub/file/ |
|
|
PKG_HASH:=30c45e817440779be7aac523a905b123cba2a6ed0bf4f5439e1e99ba940b5546 |
|
|
|
|
|
|
|
|
PKG_HASH:=fb608290c0fd2405a8f63e5717abf6d03e22e183fb21884413d1edd918184379 |
|
|
|
|
|
|
|
|
PKG_LICENSE:=BSD-2c |
|
|
PKG_LICENSE:=BSD-2c |
|
|
PKG_LICENSE_FILES:=COPYING |
|
|
PKG_LICENSE_FILES:=COPYING |
|
@ -47,15 +47,19 @@ $(call Package/file/Default) |
|
|
DEPENDS:=+zlib |
|
|
DEPENDS:=+zlib |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
TARGET_CFLAGS += $(FPIC) |
|
|
|
|
|
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed |
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
CONFIGURE_ARGS += \
|
|
|
--enable-shared \
|
|
|
--enable-shared \
|
|
|
--enable-static \
|
|
|
--enable-static \
|
|
|
--disable-libseccomp |
|
|
|
|
|
|
|
|
--disable-libseccomp \
|
|
|
|
|
|
--disable-rpath \
|
|
|
|
|
|
--disable-warnings \
|
|
|
|
|
|
--without-pic |
|
|
|
|
|
|
|
|
MAKE_PATH := src |
|
|
MAKE_PATH := src |
|
|
|
|
|
|
|
|
TARGET_CFLAGS += $(FPIC) |
|
|
|
|
|
|
|
|
|
|
|
define Build/Compile/magic |
|
|
define Build/Compile/magic |
|
|
( cd $(PKG_BUILD_DIR)/magic/Magdir; \
|
|
|
( cd $(PKG_BUILD_DIR)/magic/Magdir; \
|
|
|
for f in `ls`; do \
|
|
|
for f in `ls`; do \
|
|
|