Adding md5sum checks
[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 PKG_MD5SUM:=678a28e3b7d06f75940beec28130d9a5
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/telepathy-python
20 SUBMENU:=Python
21 SECTION:=lang
22 CATEGORY:=Languages
23 TITLE:=telepathy-python
24 URL:=http://telepathy.freedesktop.org
25 DEPENDS:=python-core
26 endef
27
28 define Package/telepathy-python/description
29 telepathy- python bingings
30 endef
31
32 define Build/Compile
33 cd $(PKG_BUILD_DIR) ; $(CONFIGURE_VARS) $(MAKE_VARS) /usr/bin/python ./setup.py install --prefix="$(PKG_INSTALL_DIR)/usr"
34 endef
35
36 define Package/telepathy-python/install
37 mkdir -p $(1)
38 cp -r $(PKG_INSTALL_DIR)/* $(1)
39 endef
40
41 $(eval $(call BuildPackage,telepathy-python))
42
43 $(eval $(call RequireCommand,xsltproc, \
44 $(PKG_NAME) requires xsltproc installed on the host-system. \
45 ))