2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=gnome-python-desktop
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/
17 include $(INCLUDE_DIR
)/package.mk
19 EXTRA_CFLAGS
+= -I
$(STAGING_DIR
)/usr
/lib
/libintl
/include/ -I
$(STAGING_DIR
)/usr
/lib
/libiconv
/include/
20 EXTRA_LDFLAGS
+=-Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
22 define Package
/gnome-python-desktop
26 TITLE
:=Gnome Python Bindings
27 URL
:=http
://ftp.gnome.org
/
28 DEPENDS
:=+libwnck
+python-gtk
31 define Package
/gnome-python-desktop
/description
32 python bindings for gnome
35 MAKE_FLAGS
+= DESTDIR
=$(PKG_INSTALL_DIR
) all install
37 define Build
/InstallDev
39 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)
42 define Package
/gnome-python-desktop
/install
44 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)
47 $(eval
$(call BuildPackage
,gnome-python-desktop
))