Makefile 911 B

12345678910111213141516171819202122232425262728
  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:= a program for allowing network connections to serial ports
  9. PKG_SECTION:= net
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ser2net/}
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,SER2NET,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. CONFIGURE_STYLE:= gnu
  14. CONFIGURE_ENV+= ac_cv_lib_nsl_main=no
  15. BUILD_STYLE:= auto
  16. INSTALL_STYLE:= auto
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_SER2NET}/etc ${IDIR_SER2NET}/usr/sbin
  19. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ser2net ${IDIR_SER2NET}/usr/sbin
  20. ${INSTALL_DATA} ${WRKBUILD}/ser2net.conf ${IDIR_SER2NET}/etc
  21. include ${TOPDIR}/mk/pkg-bottom.mk