summaryrefslogtreecommitdiff
path: root/package/libxkbfile
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/libxkbfile
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/libxkbfile')
-rw-r--r--package/libxkbfile/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/package/libxkbfile/Makefile b/package/libxkbfile/Makefile
index 6fbca6bb3..dfa8f6201 100644
--- a/package/libxkbfile/Makefile
+++ b/package/libxkbfile/Makefile
@@ -5,32 +5,20 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libxkbfile
PKG_VERSION:= 1.0.8
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= f5b92ef9813c6b78105dfa960ddddcaa
PKG_DESCR:= X11 keyboard configuration extension library
PKG_SECTION:= x11/libs
PKG_BUILDDEP:= kbproto libX11
PKG_SITES:= ${MASTER_SITE_XORG}
-
-PKG_SUBPKGS:= LIBXKBFILE LIBXKBFILE_DEV
-PKGSD_LIBXKBFILE_DEV:= X11 keyboard configuration extension headers
-PKGSC_LIBXKBFILE_DEV:= devel
+PKG_OPTS:= dev
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBXKBFILE,libxkbfile,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBXKBFILE_DEV,libxkbfile-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXKBFILE_DEV},${PKGSC_LIBXKBFILE_DEV}))
+$(eval $(call PKG_template,LIBXKBFILE,libxkbfile,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
libxkbfile-install:
${INSTALL_DIR} ${IDIR_LIBXKBFILE}/usr/lib
${CP} ${WRKINST}/usr/lib/libxkbfile.so* ${IDIR_LIBXKBFILE}/usr/lib
-libxkbfile-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBXKBFILE_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* \
- ${IDIR_LIBXKBFILE_DEV}/usr/include
- ${INSTALL_DIR} ${IDIR_LIBXKBFILE_DEV}/usr/lib/pkgconfig
- ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/xkbfile.pc \
- ${IDIR_LIBXKBFILE_DEV}/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk