source: packages/Xorg/efl/etk/Makefile @ 13952

Last change on this file since 13952 was 13952, checked in by lars, 8 years ago

Merge menuconfig Xorg libs and libraries section.

File size: 1.8 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:=etk
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/etk
28  SECTION:=xorg-lib
29  CATEGORY:=Xorg
30  SUBMENU:=libraries
31  TITLE:=Etk is a toolkit based on the EFL
32  URL:=http://wiki.enlightenment.org/index.php/Etk
33  DEPENDS:=+evas +ecore +edje
34endef
35
36define Package/etk/description
37  Etk is a toolkit based on the EFL
38endef
39
40EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include
41EXTRA_LDFLAGS+=-lintl -L$(STAGING_DIR)/usr/lib/libintl/lib
42
43define Build/Configure
44        (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
45        $(call Build/Configure/Default)
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
54        $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
55        $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
56endef
57
58define Package/etk/install
59        $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/share $(1)/usr/bin $(1)/usr/lib/etk/engines
60        $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
61        $(CP) $(PKG_INSTALL_DIR)/usr/lib/etk/engines/*.so* $(1)/usr/lib/etk/engines/
62        $(CP) $(PKG_INSTALL_DIR)/usr/share/etk $(1)/usr/share/
63        $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
64endef
65
66$(eval $(call BuildPackage,etk))
Note: See TracBrowser for help on using the repository browser.