summaryrefslogtreecommitdiff
path: root/package/libfontenc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libfontenc/Makefile')
-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