summaryrefslogtreecommitdiff
path: root/package/newt/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:19:12 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:19:12 +0100
commitf2ea9e8dbd4cc3c77ff4cc52688d7057d3289fab (patch)
tree72ec81acffa69f2c89e52a38603a6f92fb1e72ae /package/newt/Makefile
parentdce7d2df8c73896aeef77118fe89fc7e88d035fe (diff)
parent0943b7422376747a452bda5562c73d673cccbe68 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/newt/Makefile')
-rw-r--r--package/newt/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/newt/Makefile b/package/newt/Makefile
new file mode 100644
index 000000000..57521d1a2
--- /dev/null
+++ b/package/newt/Makefile
@@ -0,0 +1,34 @@
+# 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:= windowing toolkit
+PKG_SECTION:= libs/misc
+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
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(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
+
+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
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk