port newt library
[openadk.git] / package / newt / Makefile
blobe663ae0fae5b8589b7704425ec6e55f0b36442c7
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= newt
7 PKG_VERSION:= 0.52.18
8 PKG_RELEASE:= 1
9 PKG_HASH:= 771b0e634ede56ae6a6acd910728bb5832ac13ddb0d1d27919d2498dab70c91e
10 PKG_DESCR:= Redhat\'s Newt windowing toolkit development files
11 PKG_SECTION:= libs/misc
12 PKG_DEPENDS:= slang
13 PKG_BUILDDEP:= slang
14 PKG_URL:= https://fedorahosted.org/newt/
15 PKG_SITES:= https://fedorahosted.org/releases/n/e/${PKG_NAME}/
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,NEWT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 CONFIGURE_ARGS+= --without-python \
23 --without-tcl \
24 --without-gpm-support
26 post-install:
27 $(INSTALL_DIR) $(IDIR_NEWT)/usr/{bin,lib}
28 $(INSTALL_BIN) $(WRKINST)/usr/bin/whiptail \
29 $(IDIR_NEWT)/usr/bin
30 ${CP} ${WRKINST}/usr/lib/libnewt.so* \
31 ${IDIR_NEWT}/usr/lib
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk