Makefile 1.0 KB

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