2008-11-16 19:31:42 +00:00
#
2008-11-27 22:24:56 +00:00
# Copyright (C) 2006-2008 OpenWrt.org
2008-11-16 19:31:42 +00:00
#
# 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 $
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := ecore
2008-11-27 22:24:56 +00:00
PKG_REV := 37637
PKG_VERSION := r$( PKG_REV)
2008-11-16 19:31:42 +00:00
PKG_RELEASE := 1
PKG_SOURCE_PROTO := svn
2008-11-27 22:24:56 +00:00
PKG_SOURCE_VERSION := $( PKG_REV)
2008-11-16 19:31:42 +00:00
PKG_SOURCE_SUBDIR := $( PKG_NAME) -$( PKG_VERSION)
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
2008-11-27 22:24:56 +00:00
PKG_SOURCE_URL := http://svn.enlightenment.org/svn/e/trunk/$( PKG_NAME)
2008-11-16 19:31:42 +00:00
PKG_BUILD_DIR = $( BUILD_DIR) /Xorg/$( _CATEGORY) /$( PKG_NAME) -$( PKG_VERSION) /
PKG_FIXUP = libtool
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / e c o r e
SECTION:= xorg-lib
CATEGORY:= Xorg
SUBMENU:= lib
TITLE:= Ecore is the core event abstraction layer and X abstraction layer
URL:= http://wiki.enlightenment.org/index.php/Ecore
2009-01-02 02:28:37 +00:00
DEPENDS:= +eet +evas +libXcursor +libXrandr +libXtst +libiconv @!LINUX_2_4
2008-11-16 19:31:42 +00:00
e n d e f
d e f i n e P a c k a g e / e c o r e / d e s c r i p t i o n
Ecore is the core event abstraction layer and X abstraction layer that makes doing selections, Xdnd, general X stuff, and event loops, timeouts and idle handlers fast, optimized, and convenient. It' s a separate library so anyone can make use of the work put into Ecore to make this job easy for applications.
e n d e f
EXTRA_CFLAGS += -I$( STAGING_DIR) /usr/lib/libiconv/include
EXTRA_LDFLAGS += -liconv -L$( STAGING_DIR) /usr/lib/libiconv/lib
d e f i n e B u i l d / C o n f i g u r e
( cd $( PKG_BUILD_DIR) ; NOCONFIGURE = YES ./autogen.sh ) ;
$( call Build/Configure/Default, \
--with-iconv-link \
--enable-ecore-txt \
--disable-ecore-config \
--disable-ecore-x-xcb \
--enable-ecore-x \
--enable-ecore-job \
--disable-ecore-directfb \
--disable-ecore-sdl \
--enable-ecore-fb \
--enable-ecore-evas \
--enable-ecore-evas-fb \
--disable-ecore-evas-x11-gl \
--enable-ecore-evas-xrender \
--disable-ecore-evas-dfb \
--disable-ecore-evas-sdl \
--disable-openssl \
--enable-abstract-sockets \
--enable-ecore-con \
--enable-ecore-ipc \
--enable-ecore-file \
--enable-inotify \
--disable-poll \
--disable-curl \
--disable-ecore-desktop \
2008-12-09 00:49:05 +00:00
--disable-gnutls \
2008-11-16 19:31:42 +00:00
)
e n d e f
d e f i n e B u i l d / C o m p i l e
DESTDIR = " $( PKG_INSTALL_DIR) " $( MAKE) -C $( PKG_BUILD_DIR) all install
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
mkdir -p $( 1) /usr/include $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/include/* $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/* $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / e c o r e / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/* $( 1) /usr/lib/
e n d e f
$( eval $ ( call BuildPackage ,ecore ) )