d9fc4270886225b81aaf3169a88b0c2459f485af
[openwrt/svn-archive/archive.git] / lang / telepathy-python / Makefile
1 #
2 # Copyright (C) 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=telepathy-python
11 PKG_VERSION:=0.15.0
12 PKG_RELEASE:=1
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://telepathy.freedesktop.org/releases/telepathy-python/
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/telepathy-python
19 SUBMENU:=Python
20 SECTION:=lang
21 CATEGORY:=Languages
22 TITLE:=telepathy-python
23 URL:=http://telepathy.freedesktop.org
24 DEPENDS:=python-core
25 endef
26
27 define Package/telepathy-python/description
28 telepathy- python bingings
29 endef
30
31 define Build/Compile
32 cd $(PKG_BUILD_DIR) ; $(CONFIGURE_VARS) $(MAKE_VARS) /usr/bin/python ./setup.py install --prefix="$(PKG_INSTALL_DIR)/usr"
33 endef
34
35 define Package/telepathy-python/install
36 mkdir -p $(1)
37 cp -r $(PKG_INSTALL_DIR)/* $(1)
38 endef
39
40 $(eval $(call BuildPackage,telepathy-python))
41
42 $(eval $(call RequireCommand,xsltproc, \
43 $(PKG_NAME) requires xsltproc installed on the host-system. \
44 ))