2 # Copyright (C) 2008-2010 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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://xcb.freedesktop.org
/dist/
16 PKG_MD5SUM
:=d9275a714e83ab9c1f9b260c6eff1609
19 #PKG_BUILD_DEPENDS:=python-mini/host
21 include $(INCLUDE_DIR
)/package.mk
22 #$(call include_mk, python-package.mk)
24 #STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,PACKAGE_python PACKAGE_python-mini)
26 define Package
/xcbproto
27 SECTION
:=xorg-libraries
32 URL
:=http
://xcb.freedesktop.org
/
36 # $(INSTALL_DIR) $(1)/host/lib/$(PYTHON)/site-packages/xcbgen
38 # $(PKG_INSTALL_DIR)/usr/lib/$(PYTHON)/site-packages/xcbgen/*.py \
39 # $(1)/host/lib/$(PYTHON)/site-packages/xcbgen/
42 define Build
/InstallDev
43 # $(call InstallPy,$(1),$(2))
45 $(1)/usr
/lib
/pkgconfig \
49 $(PKG_INSTALL_DIR
)/usr
/share
/xcb
/* \
53 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
54 $(1)/usr
/lib
/pkgconfig
/
56 $(SED
) 's,datadir=/usr,datadir=$(STAGING_DIR)/host,g' $(1)/usr
/lib
/pkgconfig
/xcb-proto.
pc
59 $(eval
$(call BuildPackage
,xcbproto
))