summaryrefslogtreecommitdiff
path: root/package/libfontenc
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/libfontenc
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/libfontenc')
-rw-r--r--package/libfontenc/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/package/libfontenc/Makefile b/package/libfontenc/Makefile
index dad051917..bac9e4587 100644
--- a/package/libfontenc/Makefile
+++ b/package/libfontenc/Makefile
@@ -12,25 +12,14 @@ PKG_SECTION:= x11/libs
PKG_DEPENDS:= zlib
PKG_BUILDDEP:= xproto zlib
PKG_SITES:= ${MASTER_SITE_XORG}
-
-PKG_SUBPKGS:= LIBFONTENC LIBFONTENC_DEV
-PKGSC_LIBFONTENC_DEV:= devel
-PKGSD_LIBFONTENC_DEV:= libfontenc headers
+PKG_OPTS:= dev
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBFONTENC,libfontenc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBFONTENC_DEV,libfontenc-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBFONTENC_DEV},${PKGSC_LIBFONTENC_DEV}))
+$(eval $(call PKG_template,LIBFONTENC,libfontenc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
libfontenc-install:
${INSTALL_DIR} ${IDIR_LIBFONTENC}/usr/lib
${CP} ${WRKINST}/usr/lib/libfontenc.so* ${IDIR_LIBFONTENC}/usr/lib
-libfontenc-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBFONTENC_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBFONTENC_DEV}/usr/include
- ${INSTALL_DIR} ${IDIR_LIBFONTENC_DEV}/usr/lib/pkgconfig
- ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/fontenc.pc \
- ${IDIR_LIBFONTENC_DEV}/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk