Makefile 927 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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= ser2net
  5. PKG_VERSION:= 2.3
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 2b5dfdd457f31bd2eec9afc8ed2873bd40b2d6f3cb9ff7275dd9384218b01734
  8. PKG_DESCR:= allowing network connections to serial ports
  9. PKG_SECTION:= net/misc
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ser2net/}
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  12. include ${ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk