source: packages/libs/tiff/Makefile @ 16750

Last change on this file since 16750 was 16750, checked in by nico, 7 years ago

[packages] libtiff: don't include dev shared lib symlinks in package, bump release number

File size: 1.0 KB
Line 
1#
2# Copyright (C) 2006-2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# blogic@openwrt.org
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=tiff
12PKG_VERSION:=3.8.2
13PKG_RELEASE:=2
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=http://libtiff.maptools.org/dl/
17PKG_MD5SUM:=fbb6f446ea4ed18955e2714934e5b698
18PKG_FIXUP:=libtool
19
20include $(INCLUDE_DIR)/package.mk
21
22PKG_INSTALL=1
23
24define Package/libtiff
25  SECTION:=libs
26  CATEGORY:=Libraries
27  TITLE:=TIFF libraries
28  DEPENDS:=+zlib +libjpeg
29  URL:=http://www.remotesensing.org/libtiff/
30endef
31
32TARGET_CFLAGS += $(FPIC)
33
34CONFIGURE_ARGS += --without-x
35
36define Build/InstallDev
37        $(INSTALL_DIR) $(1)/usr/{lib,include}
38        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib/
39        $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
40endef
41
42define Package/libtiff/install
43        $(INSTALL_DIR) $(1)/usr/lib
44        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so.* $(1)/usr/lib/
45endef
46
47$(eval $(call BuildPackage,libtiff))
Note: See TracBrowser for help on using the repository browser.