summaryrefslogtreecommitdiff
path: root/package/libXmu/Makefile
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/libXmu/Makefile
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/libXmu/Makefile')
-rw-r--r--package/libXmu/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/package/libXmu/Makefile b/package/libXmu/Makefile
index 8d6483d7b..50a808952 100644
--- a/package/libXmu/Makefile
+++ b/package/libXmu/Makefile
@@ -5,32 +5,21 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libXmu
PKG_VERSION:= 1.1.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 53fd02bc7174dd643a26bcc88147c146
PKG_DESCR:= miscellaneous utility functions for X libraries
PKG_SECTION:= x11/libs
PKG_BUILDDEP:= libXt libXext
PKG_SITES:= ${MASTER_SITE_XORG}
-
-PKG_SUBPKGS:= LIBXMU LIBXMU_DEV
-PKGSD_LIBXMU_DEV:= X miscellaneous utility function headers
-PKGSC_LIBXMU_DEV:= x11/devel
+PKG_OPTS:= dev
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBXMU,libxmu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBXMU_DEV,libxmu-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBXMU,libxmu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
libxmu-install:
${INSTALL_DIR} ${IDIR_LIBXMU}/usr/lib
${CP} ${WRKINST}/usr/lib/libXmu.so* ${IDIR_LIBXMU}/usr/lib
${CP} ${WRKINST}/usr/lib/libXmuu.so* ${IDIR_LIBXMU}/usr/lib
-libxmu-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBXMU_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBXMU_DEV}/usr/include
- ${INSTALL_DIR} ${IDIR_LIBXMU_DEV}/usr/lib/pkgconfig
- ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \
- ${IDIR_LIBXMU_DEV}/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk