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 @DISPLAY_SUPPORT
31 define Package
/gnome-python-desktop
/description
32 python bindings for gnome
35 define Build
/Configure
36 (cd
$(PKG_BUILD_DIR
); \
37 if
[ -x
$(CONFIGURE_CMD
) ]; then \
38 $(CP
) $(SCRIPT_DIR
)/config.
{guess
,sub
} $(PKG_BUILD_DIR
)/ && \
47 cd
$(PKG_BUILD_DIR
) ; DESTDIR
=$(PKG_INSTALL_DIR
) $(MAKE
) all install
50 define Build
/InstallDev
52 cp
-r
$(PKG_INSTALL_DIR
)/* $(1)
55 define Package
/gnome-python-desktop
/install
57 cp
-r
$(PKG_INSTALL_DIR
)/* $(1)
60 $(eval
$(call BuildPackage
,gnome-python-desktop
))