From e3890daf7f21f85a40547b66b9b148f99e3092eb Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 24 Feb 2015 12:47:07 +0100 Subject: port newt library --- package/newt/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/newt/Makefile (limited to 'package/newt') diff --git a/package/newt/Makefile b/package/newt/Makefile new file mode 100644 index 000000000..e663ae0fa --- /dev/null +++ b/package/newt/Makefile @@ -0,0 +1,33 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(ADK_TOPDIR)/rules.mk + +PKG_NAME:= newt +PKG_VERSION:= 0.52.18 +PKG_RELEASE:= 1 +PKG_HASH:= 771b0e634ede56ae6a6acd910728bb5832ac13ddb0d1d27919d2498dab70c91e +PKG_DESCR:= Redhat\'s Newt windowing toolkit development files +PKG_SECTION:= libs/misc +PKG_DEPENDS:= slang +PKG_BUILDDEP:= slang +PKG_URL:= https://fedorahosted.org/newt/ +PKG_SITES:= https://fedorahosted.org/releases/n/e/${PKG_NAME}/ +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,NEWT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ARGS+= --without-python \ + --without-tcl \ + --without-gpm-support + +post-install: + $(INSTALL_DIR) $(IDIR_NEWT)/usr/{bin,lib} + $(INSTALL_BIN) $(WRKINST)/usr/bin/whiptail \ + $(IDIR_NEWT)/usr/bin + ${CP} ${WRKINST}/usr/lib/libnewt.so* \ + ${IDIR_NEWT}/usr/lib + +include ${ADK_TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 3b7e950a2a226d1344e78da8fb10e3cdb92f37a0 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 28 Feb 2015 10:11:11 +0100 Subject: cleanup phil's submissions - use () instead of {} in make variables for now - use PKG_HASH instead of PKG_MD5SUM - update to latest upstream versions - use a newline between PKG_* variables and DISTFILES - use -install instead of post-install - use lowercase description texts only - fix some missing PKG_BUILDDEP - elfutils needs argp, which is not available in uClibc-ng, yet - PKG_HASH is not required for git sources --- package/newt/Makefile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'package/newt') diff --git a/package/newt/Makefile b/package/newt/Makefile index e663ae0fa..57521d1a2 100644 --- a/package/newt/Makefile +++ b/package/newt/Makefile @@ -7,27 +7,28 @@ PKG_NAME:= newt PKG_VERSION:= 0.52.18 PKG_RELEASE:= 1 PKG_HASH:= 771b0e634ede56ae6a6acd910728bb5832ac13ddb0d1d27919d2498dab70c91e -PKG_DESCR:= Redhat\'s Newt windowing toolkit development files +PKG_DESCR:= windowing toolkit PKG_SECTION:= libs/misc -PKG_DEPENDS:= slang -PKG_BUILDDEP:= slang +PKG_DEPENDS:= slang libpopt +PKG_BUILDDEP:= slang popt PKG_URL:= https://fedorahosted.org/newt/ -PKG_SITES:= https://fedorahosted.org/releases/n/e/${PKG_NAME}/ -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz +PKG_SITES:= https://fedorahosted.org/releases/n/e/$(PKG_NAME)/ + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,NEWT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,NEWT,newt,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) CONFIGURE_ARGS+= --without-python \ --without-tcl \ --without-gpm-support -post-install: +newt-install: $(INSTALL_DIR) $(IDIR_NEWT)/usr/{bin,lib} $(INSTALL_BIN) $(WRKINST)/usr/bin/whiptail \ $(IDIR_NEWT)/usr/bin - ${CP} ${WRKINST}/usr/lib/libnewt.so* \ - ${IDIR_NEWT}/usr/lib + $(CP) $(WRKINST)/usr/lib/libnewt.so* \ + $(IDIR_NEWT)/usr/lib -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk -- cgit v1.2.3