Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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:= serdisplib
  5. PKG_VERSION:= 1.97.8
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 2aa91c43d01d2dfc9fbc1116e3063ae1
  8. PKG_DESCR:= display drivers (serial, parallel, usb)
  9. PKG_SECTION:= sys/serial
  10. PKG_DEPENDS:= libusb-compat
  11. PKG_BUILDDEP:= libgd libusb-compat
  12. PKG_URL:= http://serdisplib.sourceforge.net
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=serdisplib/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,SERDISPLIB,serdisplib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. INSTALL_STYLE:= manual
  18. CONFIGURE_ENV+= PACKAGE_VERSION_MAJOR=1 PACKAGE_VERSION_MINOR=97
  19. CONFIGURE_ARGS+= --enable-libusb
  20. TARGET_CFLAGS+= ${TARGET_CPPFLAGS}
  21. do-install:
  22. ${INSTALL_DIR} ${IDIR_SERDISPLIB}/usr/lib
  23. ${CP} ${WRKBUILD}/lib/libserdisp.so* ${IDIR_SERDISPLIB}/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk