Makefile 821 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:= setserial
  5. PKG_VERSION:= 2.17
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= c4867d72c41564318e0107745eb7a0f2
  8. PKG_DESCR:= configuration utility for serial ports
  9. PKG_SECTION:= serial
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=setserial/}
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,SETSERIAL,setserial,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. INSTALL_STYLE:= manual
  15. TARGET_CPPFLAGS+= -DFIOQSIZE=1
  16. do-install:
  17. ${INSTALL_DIR} ${IDIR_SETSERIAL}/usr/sbin
  18. ${INSTALL_BIN} ${WRKBUILD}/setserial ${IDIR_SETSERIAL}/usr/sbin/
  19. include ${TOPDIR}/mk/pkg-bottom.mk