summaryrefslogtreecommitdiff
path: root/package/xproto
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/xproto
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/xproto')
-rw-r--r--package/xproto/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/package/xproto/Makefile b/package/xproto/Makefile
index 8d59c1f16..3113dede3 100644
--- a/package/xproto/Makefile
+++ b/package/xproto/Makefile
@@ -7,19 +7,13 @@ PKG_NAME:= xproto
PKG_VERSION:= 7.0.23
PKG_RELEASE:= 1
PKG_DESCR:= X Window System Core Protocol headers
-PKG_SECTION:= x11/devel
+PKG_SECTION:= devel
PKG_MD5SUM:= 7ab1239930563a352cb3552fd2db4140
PKG_SITES:= ${MASTER_SITE_XORG}
+PKG_OPTS:= dev devonly
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XPROTO,xproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-post-install:
- ${INSTALL_DIR} ${IDIR_XPROTO}/usr/include
- ${CP} ${WRKINST}/usr/include/X11 ${IDIR_XPROTO}/usr/include
- ${INSTALL_DIR} ${IDIR_XPROTO}/usr/lib/pkgconfig
- ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/xproto.pc \
- ${IDIR_XPROTO}/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk