Makefile 1.0 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 ${ADK_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:= sys/serial
  10. PKG_URL:= http://www.ohse.de/uwe/software/lrzsz.html
  11. PKG_SITES:= http://www.ohse.de/uwe/releases/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. include ${ADK_TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LRZSZ,lrzsz,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. INSTALL_STYLE:= manual
  16. CONFIGURE_ARGS+= --without-libiconv-prefix \
  17. --without-libintl-prefix
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_LRZSZ}/usr/bin
  20. ${CP} ${WRKBUILD}/src/lrz ${IDIR_LRZSZ}/usr/bin/
  21. ${CP} ${WRKBUILD}/src/lsz ${IDIR_LRZSZ}/usr/bin/
  22. (cd ${IDIR_LRZSZ}/usr/bin; \
  23. ln -fs lrz lrx; \
  24. ln -fs lrz lrb; \
  25. ln -fs lsz lsx; \
  26. ln -fs lsz lsb; \
  27. );
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk