Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,TSLIB,tslib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. AUTOTOOL_STYLE:= autoreconf
  19. CONFIGURE_ARGS+= --disable-ucb1x00 \
  20. --disable-corgi \
  21. --disable-collie \
  22. --disable-h3600 \
  23. --disable-mk712 \
  24. --disable-linear-h2200 \
  25. --disable-arctic2
  26. tslib-install:
  27. $(INSTALL_DIR) $(IDIR_TSLIB)/etc
  28. $(INSTALL_DIR) $(IDIR_TSLIB)/usr/lib/ts
  29. $(INSTALL_DIR) $(IDIR_TSLIB)/usr/bin
  30. $(CP) $(WRKINST)/usr/lib/libts*so* $(IDIR_TSLIB)/usr/lib
  31. $(CP) $(WRKINST)/usr/lib/ts/*.so $(IDIR_TSLIB)/usr/lib/ts
  32. $(INSTALL_BIN) $(WRKINST)/usr/bin/ts_calibrate $(IDIR_TSLIB)/usr/bin
  33. $(INSTALL_DATA) $(WRKINST)/etc/ts.conf $(IDIR_TSLIB)/etc
  34. include ${TOPDIR}/mk/pkg-bottom.mk