summaryrefslogtreecommitdiff
path: root/package/ncurses/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/ncurses/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/ncurses/Makefile')
-rw-r--r--package/ncurses/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index 4a2eea8e7..c72b4b279 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -5,24 +5,21 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= ncurses
PKG_VERSION:= 5.7
-PKG_RELEASE:= 4
+PKG_RELEASE:= 5
PKG_MD5SUM:= cce05daf61a64501ef6cd8da1f727ec6
PKG_DESCR:= a terminal handling library
PKG_SECTION:= libs
PKG_URL:= http://www.gnu.org/software/ncurses/
PKG_SITES:= ${MASTER_SITE_GNU:=ncurses/}
-
-PKG_SUBPKGS:= LIBNCURSES LIBNCURSES_DEV
-PKGSD_LIBNCURSES_DEV:= development files for libncurses
-PKGSC_LIBNCURSES_DEV:= devel
+PKG_LIBNAME:= libncurses
+PKG_OPTS:= dev
PKG_FLAVOURS_LIBNCURSES:= FULL_TERMINFO
PKGFD_FULL_TERMINFO:= install the complete set of terminfo files as provided upstream
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBNCURSES,libncurses,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBNCURSES_DEV,libncurses-dev,${PKG_VERSION}-${PKG_RELEASE},libncurses,${PKGSD_LIBNCURSES_DEV},${PKGSC_LIBNCURSES_DEV}))
+$(eval $(call PKG_template,LIBNCURSES,libncurses,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
TARGET_CFLAGS+= -lgcc
CONFIGURE_ENV+= ac_cv_linux_vers=2
@@ -86,11 +83,4 @@ else
done
endif
-libncurses-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBNCURSES_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBNCURSES_DEV}/usr/include
- ${INSTALL_DIR} ${IDIR_LIBNCURSES_DEV}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/ncurses5-config \
- ${IDIR_LIBNCURSES_DEV}/usr/bin
-
include ${TOPDIR}/mk/pkg-bottom.mk