b922bb0cc6
Also: remove the dependency on imagemagick and libfreetype to keep the library small use --disable-debug and --disable-gtk-doc add a patch to fix --tag=CXX issue; autotools is being stubborn about compiling as C++ git-svn-id: svn://svn.openwrt.org/openwrt/packages@26420 3c298f89-4303-0410-b956-a3cf2f4a3e73
73 lines
1.4 KiB
Makefile
73 lines
1.4 KiB
Makefile
#
|
|
# Copyright (C) 2010 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=vips
|
|
PKG_VERSION:=7.24.1
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=http://www.vips.ecs.soton.ac.uk/supported/7.24/
|
|
PKG_MD5SUM:=7e9d34960c3453f3b8d1d4300fe4b7a0
|
|
PKG_FIXUP = libtool
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/nls.mk
|
|
|
|
PKG_INSTALL=1
|
|
|
|
define Package/vips/Default
|
|
TITLE:=vips
|
|
URL:=http://www.vips.ecs.soton.ac.uk/
|
|
endef
|
|
|
|
define Package/vips
|
|
$(call Package/vips/Default)
|
|
SECTION:=multimedia
|
|
CATEGORY:=Multimedia
|
|
DEPENDS:=+libjpeg +glib2 +libxml2 +imagemagick +libfreetype $(INTL_DEPENDS)
|
|
endef
|
|
|
|
define Package/vips/description
|
|
An image manipulation library.
|
|
endef
|
|
|
|
TARGET_LDFLAGS+= \
|
|
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
|
|
|
CONFIGURE_ARGS += \
|
|
--disable-cxx \
|
|
--disable-threads \
|
|
--without-liboil
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/include/vips
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/include/* \
|
|
$(1)/usr/include/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
|
$(1)/usr/lib/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
|
|
$(INSTALL_DATA) \
|
|
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
|
$(1)/usr/lib/pkgconfig/
|
|
endef
|
|
|
|
define Package/vips/install
|
|
$(INSTALL_DIR) $(1)/usr/lib/
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
|
$(1)/usr/lib/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,vips))
|