3b7c73cce6ea4ec360e666b4dfa3f0c687dedc94
[openwrt/svn-archive/archive.git] / lang / python-gnome-desktop2 / 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:=gnome-python-desktop
11 PKG_VERSION:=2.16.0
12 PKG_RELEASE:=1
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/gnome-python-desktop/2.16/
15 PKG_FIXUP:=libtool
16
17 include $(INCLUDE_DIR)/package.mk
18
19 EXTRA_CFLAGS += \
20 -I$(STAGING_DIR)/usr/lib/libintl/include \
21 -I$(STAGING_DIR)/usr/lib/libiconv/include
22
23 EXTRA_LDFLAGS += \
24 -L$(STAGING_DIR)/usr/lib/libintl/lib \
25 -L$(STAGING_DIR)/usr/lib/libiconv/lib
26
27 define Package/gnome-python-desktop
28 SUBMENU:=Python
29 SECTION:=lang
30 CATEGORY:=Languages
31 TITLE:=Gnome Python Bindings
32 URL:=http://ftp.gnome.org/
33 DEPENDS:=+libwnck +python-gtk
34 endef
35
36 define Package/gnome-python-desktop/description
37 python bindings for gnome
38 endef
39
40 MAKE_FLAGS += DESTDIR=$(PKG_INSTALL_DIR) all install
41
42 define Build/InstallDev
43 $(INSTALL_DIR) $(1)
44 $(CP) $(PKG_INSTALL_DIR)/* $(1)
45 endef
46
47 define Package/gnome-python-desktop/install
48 $(INSTALL_DIR) $(1)
49 $(CP) $(PKG_INSTALL_DIR)/* $(1)
50 endef
51
52 $(eval $(call BuildPackage,gnome-python-desktop))