|
|
@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=tiff |
|
|
|
PKG_VERSION:=4.0.9 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
|
PKG_SOURCE_URL:=http://download.osgeo.org/libtiff |
|
|
|
PKG_SOURCE_URL:=https://download.osgeo.org/libtiff |
|
|
|
PKG_HASH:=6e7bdeec2c310734e734d19aae3a71ebe37a4d842e0e23dbb1b8921c0026cfcd |
|
|
|
|
|
|
|
PKG_FIXUP:=autoreconf |
|
|
@ -25,7 +25,6 @@ PKG_INSTALL:=1 |
|
|
|
|
|
|
|
PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_libtiffxx |
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/uclibc++.mk |
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
|
|
|
|
define Package/tiff/Default |
|
|
@ -47,7 +46,7 @@ $(call Package/tiff/Default) |
|
|
|
SECTION:=libs |
|
|
|
CATEGORY:=Libraries |
|
|
|
TITLE+= library(c++ bindings) |
|
|
|
DEPENDS:=+libtiff $(CXX_DEPENDS) |
|
|
|
DEPENDS:=+libtiff +PACKAGE_libtiffxx:libstdcpp |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/tiff-utils |
|
|
@ -59,44 +58,41 @@ $(call Package/tiff/Default) |
|
|
|
DEPENDS:=+libtiff |
|
|
|
endef |
|
|
|
|
|
|
|
TARGET_CFLAGS += $(FPIC) |
|
|
|
|
|
|
|
define Build/Configure |
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
$(if $(CONFIG_PACKAGE_libtiffxx), \
|
|
|
|
--enable-cxx, \
|
|
|
|
--disable-cxx \
|
|
|
|
) \
|
|
|
|
--disable-lzma \
|
|
|
|
--enable-ccitt \
|
|
|
|
--enable-packbits \
|
|
|
|
--enable-lzw \
|
|
|
|
--enable-thunder \
|
|
|
|
--enable-next \
|
|
|
|
--enable-logluv \
|
|
|
|
--enable-mdi \
|
|
|
|
--enable-zlib \
|
|
|
|
--enable-jpeg \
|
|
|
|
--disable-old-jpeg \
|
|
|
|
--disable-jbig \
|
|
|
|
--without-x \
|
|
|
|
) |
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
$(if $(CONFIG_PACKAGE_libtiffxx),--enable-cxx,--disable-cxx) \
|
|
|
|
--disable-lzma \
|
|
|
|
--enable-ccitt \
|
|
|
|
--enable-packbits \
|
|
|
|
--enable-lzw \
|
|
|
|
--enable-thunder \
|
|
|
|
--enable-next \
|
|
|
|
--enable-logluv \
|
|
|
|
--enable-mdi \
|
|
|
|
--enable-zlib \
|
|
|
|
--enable-jpeg \
|
|
|
|
--disable-old-jpeg \
|
|
|
|
--disable-jbig \
|
|
|
|
--without-x |
|
|
|
|
|
|
|
define Build/InstallDev/hxx |
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/*.hxx $(1)/usr/include/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Build/InstallDev |
|
|
|
$(INSTALL_DIR) $(1)/usr/{lib,include} |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ |
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ |
|
|
|
$(if $(CONFIG_PACKAGE_libtiffxx), $(call Build/InstallDev/hxx,$(1))) |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/libtiff/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtiff.so.* $(1)/usr/lib/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtiff.so* $(1)/usr/lib/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/libtiffxx/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtiffxx.so.* $(1)/usr/lib/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtiffxx.so* $(1)/usr/lib/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/tiff-utils/install |
|
|
|