1
0

Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= lrzsz
  5. PKG_VERSION:= 0.12.20
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b5ce6a74abc9b9eb2af94dffdfd372a4
  8. PKG_DESCR:= X-Modem, Y-modem, Z-modem protocol handlers
  9. PKG_SECTION:= misc
  10. PKG_URL:= http://www.ohse.de/uwe/software/lrzsz.html
  11. PKG_SITES:= http://www.ohse.de/uwe/releases/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LRZSZ,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE:= gnu
  15. CONFIGURE_ARGS+= ac_cv_lib_nsl_gethostbyname=no
  16. CONFIGURE_ARGS+= --without-libiconv-prefix \
  17. --without-libintl-prefix
  18. BUILD_STYLE:= auto
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_LRZSZ}/usr/bin
  21. ${CP} ${WRKBUILD}/src/lrz ${IDIR_LRZSZ}/usr/bin/
  22. ${CP} ${WRKBUILD}/src/lsz ${IDIR_LRZSZ}/usr/bin/
  23. (cd ${IDIR_LRZSZ}/usr/bin; \
  24. ln -fs lrz lrx; \
  25. ln -fs lrz lrb; \
  26. ln -fs lsz lsx; \
  27. ln -fs lsz lsb; \
  28. );
  29. include ${TOPDIR}/mk/pkg-bottom.mk