Makefile 988 B

12345678910111213141516171819202122232425262728293031
  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:= 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. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,SERDISPLIB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. INSTALL_STYLE:= manual
  17. CONFIGURE_ENV+= PACKAGE_VERSION_MAJOR=1 PACKAGE_VERSION_MINOR=97
  18. CONFIGURE_ARGS+= --enable-libusb
  19. TARGET_CFLAGS+= ${TARGET_CPPFLAGS}
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_SERDISPLIB}/usr/lib
  22. ${CP} ${WRKBUILD}/lib/libserdisp.so* ${IDIR_SERDISPLIB}/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk