summaryrefslogtreecommitdiff
path: root/package/randrproto
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/randrproto
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/randrproto')
-rw-r--r--package/randrproto/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/package/randrproto/Makefile b/package/randrproto/Makefile
index 4e81ad4b8..407f27fbf 100644
--- a/package/randrproto/Makefile
+++ b/package/randrproto/Makefile
@@ -8,18 +8,12 @@ PKG_VERSION:= 1.3.2
PKG_RELEASE:= 1
PKG_MD5SUM:= b8fd2f75cf156c9f6e6771addd07ef59
PKG_DESCR:= Xrandr protcol headers
-PKG_SECTION:= x11/devel
+PKG_SECTION:= devel
PKG_SITES:= ${MASTER_SITE_XORG}
+PKG_OPTS:= dev devonly
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RANDRPROTO,randrproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-post-install:
- ${INSTALL_DIR} ${IDIR_RANDRPROTO}/usr/include
- ${CP} ${WRKINST}/usr/include/X11 ${IDIR_RANDRPROTO}/usr/include
- ${INSTALL_DIR} ${IDIR_RANDRPROTO}/usr/lib/pkgconfig
- ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/randrproto.pc \
- ${IDIR_RANDRPROTO}/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk