From 90d5c8b73e8d538e121275b12e714332ca785cff Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 21 Oct 2013 17:20:24 +0200 Subject: automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages --- package/printproto/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'package/printproto') diff --git a/package/printproto/Makefile b/package/printproto/Makefile index 63a09d3d6..ed94bbd42 100644 --- a/package/printproto/Makefile +++ b/package/printproto/Makefile @@ -7,19 +7,13 @@ PKG_NAME:= printproto PKG_VERSION:= 1.0.5 PKG_RELEASE:= 1 PKG_DESCR:= X Print Extension headers -PKG_SECTION:= x11/devel +PKG_SECTION:= devel PKG_MD5SUM:= 5afeb3a7de8a14b417239a14ea724268 PKG_SITES:= http://xorg.freedesktop.org/releases/individual/proto/ +PKG_OPTS:= dev devonly include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,PRINTPROTO,printproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) -post-install: - ${INSTALL_DIR} ${IDIR_PRINTPROTO}/usr/include - ${CP} ${WRKINST}/usr/include/X11 ${IDIR_PRINTPROTO}/usr/include - ${INSTALL_DIR} ${IDIR_PRINTPROTO}/usr/lib/pkgconfig - ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \ - ${IDIR_PRINTPROTO}/usr/lib/pkgconfig - include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3