summaryrefslogtreecommitdiff
path: root/package/xcb-proto
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-25 13:13:43 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-25 13:13:43 +0100
commitf23acdc9bdc2ed80d398dbfdf0852f1a8b82118c (patch)
treeb7615ebe31c4d4e07a8184d9f6fd86662841170a /package/xcb-proto
parentbe5010ef6dd638cad5ac6f103203aa4f7987d2ec (diff)
update Xorg to 7.6
Diffstat (limited to 'package/xcb-proto')
-rw-r--r--package/xcb-proto/Makefile14
-rw-r--r--package/xcb-proto/patches/patch-xcb-proto_pc_in10
2 files changed, 22 insertions, 2 deletions
diff --git a/package/xcb-proto/Makefile b/package/xcb-proto/Makefile
index 1e3665010..9a477a1a6 100644
--- a/package/xcb-proto/Makefile
+++ b/package/xcb-proto/Makefile
@@ -6,9 +6,19 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= xcb-proto
PKG_VERSION:= 1.6
PKG_RELEASE:= 1
+PKG_DESCR:= XML-XCB protocol descriptions
+PKG_SECTION:= x11/devel
+PKG_BUILDDEP:= python2
PKG_MD5SUM:= 8d29695e8faf5fcdce568c66eaeaa5ee
-PKG_SITES:= http://xcb.freedesktop.org/dist/
-PKG_SUBPKGS:=
+PKG_SITES:= ${MASTER_SITE_XORG}
include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XCB_PROTO,xcb-proto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_XCB_PROTO}/usr/share
+ ${CP} ${WRKINST}/usr/share/xcb ${IDIR_XCB_PROTO}/usr/share
+ ${CP} ${WRKINST}/usr/share/xcb ${STAGING_TARGET_DIR}/usr/share
+
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xcb-proto/patches/patch-xcb-proto_pc_in b/package/xcb-proto/patches/patch-xcb-proto_pc_in
new file mode 100644
index 000000000..b16750915
--- /dev/null
+++ b/package/xcb-proto/patches/patch-xcb-proto_pc_in
@@ -0,0 +1,10 @@
+--- xcb-proto-1.6.orig/xcb-proto.pc.in 2008-08-27 10:12:22.000000000 +0200
++++ xcb-proto-1.6/xcb-proto.pc.in 2011-01-24 16:11:29.000000000 +0100
+@@ -1,6 +1,6 @@
+ prefix=@prefix@
+ datarootdir=@datarootdir@
+-datadir=@datadir@
++datadir=${prefix}/../@datadir@
+ xcbincludedir=@xcbincludedir@
+ pythondir=@pythondir@
+