0395dd91eb520ddf04373a85b3e78b2db4155f66
[openwrt/svn-archive/archive.git] / Xorg / lib / efreet / Makefile
1 #
2 # Copyright (C) 2006 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
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=efreet
12 PKG_VERSION:=r37637
13 PKG_RELEASE:=1
14
15 PKG_SOURCE_PROTO:=svn
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)/
21
22 PKG_FIXUP = libtool
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/efreet
27 SECTION:=xorg-lib
28 CATEGORY:=Xorg
29 SUBMENU:=lib
30 TITLE:=Enlightenment freedesktop.org library
31 URL:=http://wiki.enlightenment.org/index.php/Efreet
32 DEPENDS:=+ecore
33 endef
34
35 define Package/efreet/description
36 Efreet is an implementation of several specifications from freedesktop.org intended for use in Enlightenment DR17 (e17) and other applications using the Enlightenment Foundation Libraries (EFL).
37 endef
38
39 define Build/Configure
40 (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
41 $(call Build/Configure/Default)
42 endef
43
44 define Build/Compile
45 DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install
46 endef
47
48 define Build/InstallDev
49 mkdir -p $(1)/usr/include $(1)/usr/lib
50 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
51 $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
52 endef
53
54 define Package/efreet/install
55 $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/bin
56 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libefreet*.so* $(1)/usr/lib/
57 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
58 endef
59
60 $(eval $(call BuildPackage,efreet))