packages/Xorg/efl/eet/Makefile
lars c77edf9821 Merge menuconfig Xorg libs and libraries section.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-09 17:10:38 +00:00

66 lines
2.0 KiB
Makefile

#
# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $
include $(TOPDIR)/rules.mk
PKG_NAME:=eet
PKG_REV:=37637
PKG_VERSION:=r$(PKG_REV)
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=svn
PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME)
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
PKG_FIXUP = libtool
include $(INCLUDE_DIR)/package.mk
define Package/eet
SECTION:=xorg-lib
CATEGORY:=Xorg
SUBMENU:=libraries
TITLE:=EET is a tiny library designed to write an arbitary set of chunks of data to a file
URL:=http://wiki.enlightenment.org/index.php/Eet
DEPENDS:=+libjpeg +zlib +eina
endef
define Package/eet/description
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.
endef
define Build/Configure
(cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
$(call Build/Configure/Default, \
--disable-openssl \
--disable-gnutls \
)
endef
define Build/Compile
DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
endef
define Package/eet/install
$(INSTALL_DIR) $(1)/usr/lib $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
endef
$(eval $(call BuildPackage,eet))