1
0

Makefile 1002 B

1234567891011121314151617181920212223242526272829303132333435
  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:= serial
  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. INSTALL_STYLE:= manual
  15. CONFIGURE_ARGS+= --without-libiconv-prefix \
  16. --without-libintl-prefix
  17. do-install:
  18. ${INSTALL_DIR} ${IDIR_LRZSZ}/usr/bin
  19. ${CP} ${WRKBUILD}/src/lrz ${IDIR_LRZSZ}/usr/bin/
  20. ${CP} ${WRKBUILD}/src/lsz ${IDIR_LRZSZ}/usr/bin/
  21. (cd ${IDIR_LRZSZ}/usr/bin; \
  22. ln -fs lrz lrx; \
  23. ln -fs lrz lrb; \
  24. ln -fs lsz lsx; \
  25. ln -fs lsz lsb; \
  26. );
  27. include ${TOPDIR}/mk/pkg-bottom.mk