summaryrefslogtreecommitdiff
path: root/package/tntnet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/tntnet/Makefile')
-rw-r--r--package/tntnet/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/package/tntnet/Makefile b/package/tntnet/Makefile
index c251da7a9..a768954c4 100644
--- a/package/tntnet/Makefile
+++ b/package/tntnet/Makefile
@@ -6,26 +6,25 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= tntnet
PKG_VERSION:= 1.6.4
PKG_RELEASE:= 1
+PKG_BUILDDEP+= cxxtools zlib
+ifneq (${ADK_COMPILE_TNTNET_WITH_OPENSSL},)
+PKG_BUILDDEP+= openssl
+else ifneq (${ADK_COMPILE_TNTNET_WITH_GNUTLS},)
+PKG_BUILDDEP+= gnutls
+endif
PKG_MD5SUM:= e2c3c5075a890711a7569730493c0996
PKG_DESCR:= small C++ application server
PKG_SECTION:= net
PKG_DEPENDS:= cxxtools zlib libpthread libiconv
PKG_URL:= http://www.tntnet.org
PKG_SITES:= http://www.tntnet.org/download/
+PKG_CXX:= TNTNET
include ${TOPDIR}/mk/package.mk
-ifeq (${ADK_COMPILE_TNTNET_WITH_UCLIBCXX},y)
-PKG_DEPENDS+= uclibc++
-else
-PKG_DEPENDS+= libstdcxx
-endif
-
-ifeq (${ADK_COMPILE_TNTNET_WITH_OPENSSL},y)
+ifneq (${ADK_COMPILE_TNTNET_WITH_OPENSSL},)
PKG_DEPENDS+= libopenssl
-endif
-
-ifeq (${ADK_COMPILE_TNTNET_WITH_GNUTLS},y)
+else ifneq (${ADK_COMPILE_TNTNET_WITH_GNUTLS},)
PKG_DEPENDS+= libgnutls
endif