summaryrefslogtreecommitdiff
path: root/package/libXrender
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/libXrender
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/libXrender')
-rw-r--r--package/libXrender/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/package/libXrender/Makefile b/package/libXrender/Makefile
index 516645ca1..5cc84142c 100644
--- a/package/libXrender/Makefile
+++ b/package/libXrender/Makefile
@@ -5,25 +5,21 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libXrender
PKG_VERSION:= 0.9.7
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= b6702e6f56f9d9103dc688f4336529a9
PKG_DESCR:= X11 rendering library
PKG_SECTION:= x11/libs
PKG_BUILDDEP:= renderproto libX11
PKG_SITES:= ${MASTER_SITE_XORG}
-
-PKG_SUBPKGS:= LIBXRENDER LIBXRENDER_DEV
-PKGSD_LIBXRENDER_DEV:= X11 rendering headers
-PKGSC_LIBXRENDER_DEV:= x11/devel
+PKG_OPTS:= dev
ifeq ($(ADK_STATIC),y)
-PKG_OPTS:= libonly
+PKG_OPTS+= libonly
endif
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXRENDER,libxrender,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-$(eval $(call PKG_template,LIBXRENDER_DEV,libxrender-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXRENDER_DEV},${PKGSC_LIBXRENDER_DEV},${PKG_OPTS}))
CONFIGURE_ARGS+= --disable-malloc0returnsnull
@@ -31,11 +27,4 @@ libxrender-install:
${INSTALL_DIR} ${IDIR_LIBXRENDER}/usr/lib
${CP} ${WRKINST}/usr/lib/libXrender.so* ${IDIR_LIBXRENDER}/usr/lib
-libxrender-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBXRENDER_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBXRENDER_DEV}/usr/include
- ${INSTALL_DIR} ${IDIR_LIBXRENDER_DEV}/usr/lib/pkgconfig
- ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/xrender.pc \
- ${IDIR_LIBXRENDER_DEV}/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk