Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:= tslib
  5. # actually git version from 28.10.2013
  6. PKG_VERSION:= 1.1
  7. PKG_RELEASE:= 1
  8. PKG_MD5SUM:= 9563faf5cf9f111538b4f45778e7bb24
  9. PKG_DESCR:= touchscreen library
  10. PKG_SECTION:= libs
  11. PKG_BUILDDEP:= autotool
  12. PKG_URL:= http://tslib.berlios.de/
  13. PKG_SITES:= http://openadk.org/distfiles/
  14. PKG_NEED_CXX:= 1
  15. PKG_OPTS:= dev
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,TSLIB,tslib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. AUTOTOOL_STYLE:= autoreconf
  20. CONFIGURE_ARGS+= --disable-ucb1x00 \
  21. --disable-corgi \
  22. --disable-collie \
  23. --disable-h3600 \
  24. --disable-mk712 \
  25. --disable-linear-h2200 \
  26. --disable-arctic2
  27. tslib-install:
  28. $(INSTALL_DIR) $(IDIR_TSLIB)/etc
  29. $(INSTALL_DIR) $(IDIR_TSLIB)/usr/lib/ts
  30. $(INSTALL_DIR) $(IDIR_TSLIB)/usr/bin
  31. $(CP) $(WRKINST)/usr/lib/libts*so* $(IDIR_TSLIB)/usr/lib
  32. $(CP) $(WRKINST)/usr/lib/ts/*.so $(IDIR_TSLIB)/usr/lib/ts
  33. $(INSTALL_BIN) $(WRKINST)/usr/bin/ts_calibrate $(IDIR_TSLIB)/usr/bin
  34. $(INSTALL_DATA) $(WRKINST)/etc/ts.conf $(IDIR_TSLIB)/etc
  35. include ${TOPDIR}/mk/pkg-bottom.mk