Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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:= tmsnc
  5. PKG_VERSION:= 0.3.2
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 7f54ba3974f45c0787b6d62d0d62ce352ddbf95419123b98b4969b97d3dfed23
  8. PKG_DESCR:= textbased msn client
  9. PKG_SECTION:= app/chat
  10. PKG_URL:= http://tmsnc.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=tmsnc/}
  12. PKG_CHOICES_TMSNC:= WITH_LIBRESSL WITH_OPENSSL
  13. PKGCD_WITH_LIBRESSL:= use libressl for crypto
  14. PKGCB_WITH_LIBRESSL:= libressl
  15. PKGCS_WITH_LIBRESSL:= libressl ca-certificates
  16. PKGCD_WITH_OPENSSL:= use openssl for crypto
  17. PKGCB_WITH_OPENSSL:= openssl
  18. PKGCS_WITH_OPENSSL:= libopenssl ca-certificates
  19. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  20. include ${ADK_TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,TMSNC,tmsnc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. TARGET_LDFLAGS+= -ltinfo
  23. CONFIGURE_ARGS+= --with-libiconv-prefix=${STAGING_TARGET_DIR}/usr \
  24. --with-openssl=${STAGING_TARGET_DIR}/usr \
  25. --with-ncurses=${STAGING_TARGET_DIR}
  26. tmsnc-install:
  27. ${INSTALL_DIR} ${IDIR_TMSNC}/usr/bin
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/tmsnc ${IDIR_TMSNC}/usr/bin
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk