Makefile 956 B

123456789101112131415161718192021222324252627282930
  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_BUILDDEP+= libgd libusb
  8. PKG_MD5SUM:= 2aa91c43d01d2dfc9fbc1116e3063ae1
  9. PKG_DESCR:= display drivers (serial, parallel, USB)
  10. PKG_SECTION:= misc
  11. PKG_URL:= http://serdisplib.sourceforge.net
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=serdisplib/}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,SERDISPLIB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ENV+= PACKAGE_VERSION_MAJOR=1 PACKAGE_VERSION_MINOR=97
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ARGS+= --enable-libusb
  18. BUILD_STYLE:= auto
  19. TCFLAGS+= ${TCPPFLAGS}
  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