source: packages/libs/vips/Makefile @ 28064

Last change on this file since 28064 was 28064, checked in by florian, 5 years ago

[package] vips: update to 7.26.1 (#9666)

File size: 1.5 KB
Line 
1#
2# Copyright (C) 2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=vips
11PKG_VERSION:=7.26.1
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.vips.ecs.soton.ac.uk/supported/7.26/
16PKG_MD5SUM:=518c5a2d4813afc097a17f3fca9f4532
17PKG_FIXUP = libtool
18
19include $(INCLUDE_DIR)/package.mk
20include $(INCLUDE_DIR)/nls.mk
21
22PKG_INSTALL=1
23
24define Package/vips/Default
25  TITLE:=vips
26  URL:=http://www.vips.ecs.soton.ac.uk/
27endef
28
29define Package/vips
30  $(call Package/vips/Default)
31  SECTION:=multimedia
32  CATEGORY:=Multimedia
33  DEPENDS:=+libjpeg +glib2 +libxml2 +libfreetype $(INTL_DEPENDS)
34endef
35
36define Package/vips/description
37  An image manipulation library.
38endef
39
40TARGET_LDFLAGS+= \
41        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
42
43CONFIGURE_ARGS += \
44        --disable-cxx \
45        --disable-threads \
46        --without-liboil \
47        --without-magick
48
49define Build/InstallDev
50        $(INSTALL_DIR) $(1)/usr/include/vips
51        $(CP) \
52                $(PKG_INSTALL_DIR)/usr/include/* \
53                $(1)/usr/include/
54
55        $(INSTALL_DIR) $(1)/usr/lib/
56        $(CP) \
57                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
58                $(1)/usr/lib/
59
60        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
61        $(INSTALL_DATA) \
62                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
63                $(1)/usr/lib/pkgconfig/
64endef
65
66define Package/vips/install
67        $(INSTALL_DIR) $(1)/usr/lib/
68        $(CP) \
69                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
70                $(1)/usr/lib/
71endef
72
73$(eval $(call BuildPackage,vips))
Note: See TracBrowser for help on using the repository browser.