1
0

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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= rrs
  5. PKG_VERSION:= 1.70
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= b400d03c0e39e3e78a7327ba78f789f0
  8. PKG_DESCR:= A reverse (connecting) remote shell, with SSL support.
  9. PKG_SECTION:= net/misc
  10. PKG_DEPENDS:= zlib libopenssl
  11. PKG_BUILDDEP:= zlib openssl
  12. PKG_URL:= http://www.cycom.se/dl/rrs/
  13. PKG_SITES:= http://www.cycom.se/uploads/36/19/
  14. PKG_NEED_CXX:= 1
  15. PKG_CXX:= RRS
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,RRS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIG_STYLE:= manual
  19. BUILD_STYLE:= manual
  20. INSTALL_STYLE:= manual
  21. do-build:
  22. ${MAKE} -C ${WRKBUILD} \
  23. CC="${TARGET_CC}" \
  24. CFLAGS="${TARGET_CFLAGS} -I${STAGING_TARGET_DIR}/usr/include ${PKG_FLAGS}" \
  25. LDFLAGS="-L${STAGING_TARGET_DIR}/usr/lib -L${STAGING_TARGET_DIR}/lib ${PKG_LDFLAGS} -lutil -lssl -lcrypto -lz -lstdc++" \
  26. generic
  27. do-install:
  28. ${INSTALL_DIR} ${IDIR_RRS}/usr/bin
  29. ${INSTALL_BIN} ${WRKBUILD}/rrs ${IDIR_RRS}/usr/bin/
  30. include ${TOPDIR}/mk/pkg-bottom.mk