2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $
9 include $(TOPDIR
)/rules.mk
16 PKG_SOURCE_VERSION
:=$(PKG_VERSION
)
17 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
18 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
19 PKG_SOURCE_URL
:=https
://svn.enlightenment.org
/svn
/e
/trunk
/$(PKG_NAME
)
20 PKG_BUILD_DIR
=$(BUILD_DIR
)/Xorg
/$(_CATEGORY
)/$(PKG_NAME
)-$(PKG_VERSION
)/
24 include $(INCLUDE_DIR
)/package.mk
30 TITLE
:=EET is a tiny library designed to write an arbitary set of chunks of data to a file
31 URL
:=http
://wiki.enlightenment.org
/index.php
/Eet
32 DEPENDS
:=+libjpeg
+zlib
+eina
35 define Package
/eet
/description
36 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.
39 define Build
/Configure
40 (cd
$(PKG_BUILD_DIR
); NOCONFIGURE
=YES .
/autogen.sh
);
41 $(call Build
/Configure
/Default
, \
47 DESTDIR
="$(PKG_INSTALL_DIR)" $(MAKE
) -C
$(PKG_BUILD_DIR
) all install
50 define Build
/InstallDev
51 $(INSTALL_DIR
) $(1)/usr
/include $(1)/usr
/lib
$(1)/usr
/bin
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/* $(1)/usr
/lib
/
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
57 define Package
/eet
/install
58 $(INSTALL_DIR
) $(1)/usr
/lib
$(1)/usr
/bin
59 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* $(1)/usr
/lib
/
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
63 $(eval
$(call BuildPackage
,eet
))