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.
7 # $Id: Makefile 12846 2008-10-03 22:38:55Z lars $
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://xcb.freedesktop.org
/dist/
17 PKG_MD5SUM
:=d9275a714e83ab9c1f9b260c6eff1609
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/xcbproto
29 define Build
/InstallDev
30 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
31 $(INSTALL_DIR
) $(1)/host
/{lib
/python2.5
/site-packages
/xcbgen
,share
/xcb
}
34 $(PKG_INSTALL_DIR
)/usr
/lib
/python2.5
/site-packages
/xcbgen
/*.py \
35 $(1)/host
/lib
/python2.5
/site-packages
/xcbgen
/
38 $(PKG_INSTALL_DIR
)/usr
/share
/xcb
/* \
42 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
43 $(1)/usr
/lib
/pkgconfig
/
45 $(SED
) 's,datadir=/usr,datadir=$(STAGING_DIR)/host,g' $(1)/usr
/lib
/pkgconfig
/xcb-proto.
pc
48 define Package
/xcbproto
/install
53 $(eval
$(call BuildPackage
,xcbproto
))