Update dbus-python to 0.83.0 and makefile cleanup.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12530 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b7fc93484c
commit
cdd4872ea9
@ -8,14 +8,17 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=dbus-python
|
PKG_NAME:=dbus-python
|
||||||
PKG_VERSION:=0.82.4
|
PKG_VERSION:=0.83.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://dbus.freedesktop.org/releases/dbus-python/
|
PKG_SOURCE_URL:=http://dbus.freedesktop.org/releases/dbus-python/
|
||||||
|
PKG_MD5SUM:=562c78876219bf458d79a041af18293d
|
||||||
PKG_FIXUP:=libtool
|
PKG_FIXUP:=libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
PKG_INSTALL=1
|
||||||
|
|
||||||
EXTRA_CFLAGS += \
|
EXTRA_CFLAGS += \
|
||||||
-I$(STAGING_DIR)/usr/lib/libintl/include \
|
-I$(STAGING_DIR)/usr/lib/libintl/include \
|
||||||
-I$(STAGING_DIR)/usr/lib/libiconv/include
|
-I$(STAGING_DIR)/usr/lib/libiconv/include
|
||||||
@ -28,38 +31,33 @@ define Package/dbus-python
|
|||||||
SUBMENU:=Python
|
SUBMENU:=Python
|
||||||
SECTION:=lang
|
SECTION:=lang
|
||||||
CATEGORY:=Languages
|
CATEGORY:=Languages
|
||||||
TITLE:=python bindings for dbus
|
TITLE:=Python bindings for dbus
|
||||||
URL:=http://dbus.freedesktop.org/
|
URL:=http://dbus.freedesktop.org/
|
||||||
DEPENDS:=+libdbus-glib
|
DEPENDS:=python-core +libdbus-glib
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/dbus-python/description
|
define Package/dbus-python/description
|
||||||
python bindings for dbus
|
Python bindings for dbus.
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Configure
|
|
||||||
(cd $(PKG_BUILD_DIR); \
|
|
||||||
if [ -x $(CONFIGURE_CMD) ]; then \
|
|
||||||
$(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
|
|
||||||
$(CONFIGURE_VARS) \
|
|
||||||
$(CONFIGURE_CMD) \
|
|
||||||
$(CONFIGURE_ARGS) ;\
|
|
||||||
fi \
|
|
||||||
)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
cd $(PKG_BUILD_DIR) ; DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) all install
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)
|
$(INSTALL_DIR) $(1)/usr/include/dbus-1.0/dbus/
|
||||||
cp -r $(PKG_INSTALL_DIR)/* $(1)
|
$(INSTALL_DATA) $(STAGING_DIR)/usr/include/dbus-1.0/dbus/* \
|
||||||
|
$(1)/usr/include/dbus-1.0/dbus/
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
|
||||||
|
$(INSTALL_DATA) $(STAGING_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/dbus-python/install
|
define Package/dbus-python/install
|
||||||
mkdir -p $(1)
|
$(INSTALL_DIR) $(1)/usr/lib/python2.5/site-packages/
|
||||||
cp -r $(PKG_INSTALL_DIR)/* $(1)
|
$(INSTALL_DATA) $(STAGING_DIR)/usr/lib/python2.5/site-packages/*.{py,so,a} \
|
||||||
|
$(1)/usr/lib/python2.5/site-packages/
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib/python2.5/site-packages/dbus/
|
||||||
|
$(INSTALL_DATA) $(STAGING_DIR)/usr/lib/python2.5/site-packages/dbus/*.py \
|
||||||
|
$(1)/usr/lib/python2.5/site-packages/dbus/
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib/python2.5/site-packages/dbus/mainloop/
|
||||||
|
$(INSTALL_DATA) $(STAGING_DIR)/usr/lib/python2.5/site-packages/dbus/mainloop/*.py \
|
||||||
|
$(1)/usr/lib/python2.5/site-packages/dbus/mainloop/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,dbus-python))
|
$(eval $(call BuildPackage,dbus-python))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user