Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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_CXX:= RRS
  15. PKG_HOST_DEPENDS:= !darwin
  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_DIR}/usr/include ${PKG_FLAGS}" \
  25. LDFLAGS="-L${STAGING_DIR}/usr/lib -L${STAGING_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