adding etk (toolkit based on efl)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13855 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1c48976ef1
commit
c29e7fca3f
66
Xorg/efl/etk/Makefile
Normal file
66
Xorg/efl/etk/Makefile
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
#
|
||||||
|
# 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:=etk
|
||||||
|
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/etk
|
||||||
|
SECTION:=xorg-lib
|
||||||
|
CATEGORY:=Xorg
|
||||||
|
SUBMENU:=lib
|
||||||
|
TITLE:=Etk is a toolkit based on the EFL
|
||||||
|
URL:=http://wiki.enlightenment.org/index.php/Etk
|
||||||
|
DEPENDS:=+evas +ecore +edje
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/etk/description
|
||||||
|
Etk is a toolkit based on the EFL
|
||||||
|
endef
|
||||||
|
|
||||||
|
EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include
|
||||||
|
EXTRA_LDFLAGS+=-lintl -L$(STAGING_DIR)/usr/lib/libintl/lib
|
||||||
|
|
||||||
|
define Build/Configure
|
||||||
|
(cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
|
||||||
|
$(call Build/Configure/Default)
|
||||||
|
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
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/etk/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib $(1)/usr/share $(1)/usr/bin $(1)/usr/lib/etk/engines
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/etk/engines/*.so* $(1)/usr/lib/etk/engines/
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/etk $(1)/usr/share/
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,etk))
|
Loading…
x
Reference in New Issue
Block a user