source: packages/Xorg/lib/eet/Makefile @ 13555

Last change on this file since 13555 was 13555, checked in by mirko, 7 years ago

disable gnutls-support in ecore and eet

File size: 2.0 KB
Line 
1#
2# Copyright (C) 2006-2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=eet
12PKG_REV:=37637
13PKG_VERSION:=r$(PKG_REV)
14PKG_RELEASE:=1
15
16PKG_SOURCE_PROTO:=svn
17PKG_SOURCE_VERSION:=$(PKG_REV)
18PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
20PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME)
21PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
22
23PKG_FIXUP = libtool
24
25include $(INCLUDE_DIR)/package.mk
26
27define Package/eet
28  SECTION:=xorg-lib
29  CATEGORY:=Xorg
30  SUBMENU:=lib
31  TITLE:=EET is a tiny library designed to write an arbitary set of chunks of data to a file
32  URL:=http://wiki.enlightenment.org/index.php/Eet
33  DEPENDS:=+libjpeg +zlib +eina
34endef
35
36define Package/eet/description
37  EET is a tiny library designed to write an arbitary set of chunks of data to a file and optionally compress each chunk (very much like a zip file) and allow fast random-access reading of the file later on. EET files are perfect for storing data that is written once (or rarely) and read many times, especially when the program does not want to have to read all the data in at once.
38endef
39
40define Build/Configure
41        (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
42        $(call Build/Configure/Default, \
43                --disable-openssl \
44                --disable-gnutls \
45        )
46endef
47
48define Build/Compile
49        DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install
50endef
51
52define Build/InstallDev
53        $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(1)/usr/bin
54        $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
55        $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
56        $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
57endef
58
59define Package/eet/install
60        $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/bin
61        $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
62        $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
63endef
64
65$(eval $(call BuildPackage,eet))
Note: See TracBrowser for help on using the repository browser.