Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 $(ADK_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_HASH:= 4872cb7ce8cf3174fdab261a5aa87b19f62f3b5f49fa630658c78271c1816ae0
  9. PKG_DESCR:= touchscreen library
  10. PKG_SECTION:= libs/misc
  11. PKG_DEPENDS:= libstdcxx
  12. PKG_URL:= http://tslib.berlios.de/
  13. PKG_SITES:= http://openadk.org/distfiles/
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include $(ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk