1
0

Makefile 880 B

123456789101112131415161718192021222324252627
  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:= ser2net
  5. PKG_VERSION:= 2.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 5f83a3e8aec18331cb61069dccdfba47
  8. PKG_DESCR:= allowing network connections to serial ports
  9. PKG_SECTION:= net
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ser2net/}
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,SER2NET,ser2net,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_ENV+= ac_cv_lib_nsl_main=no
  15. ser2net-install:
  16. ${INSTALL_DIR} ${IDIR_SER2NET}/etc ${IDIR_SER2NET}/usr/sbin
  17. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ser2net ${IDIR_SER2NET}/usr/sbin
  18. ${INSTALL_DATA} ${WRKBUILD}/ser2net.conf ${IDIR_SER2NET}/etc
  19. include ${TOPDIR}/mk/pkg-bottom.mk