Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,RRS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. BUILD_STYLE:= manual
  19. INSTALL_STYLE:= manual
  20. do-build:
  21. ${MAKE} -C ${WRKBUILD} \
  22. CC="${TARGET_CC}" \
  23. CFLAGS="${TARGET_CFLAGS} -I${STAGING_DIR}/usr/include ${PKG_FLAGS}" \
  24. LDFLAGS="-L${STAGING_DIR}/usr/lib -L${STAGING_DIR}/lib ${PKG_LDFLAGS} -lutil -lssl -lcrypto -lz" \
  25. generic
  26. do-install:
  27. ${INSTALL_DIR} ${IDIR_RRS}/usr/bin
  28. ${INSTALL_BIN} ${WRKBUILD}/rrs ${IDIR_RRS}/usr/bin/
  29. include ${TOPDIR}/mk/pkg-bottom.mk