Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. PKG_VERSION:= 1.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 92b2eb55b1e4ef7e2c0347069389390e
  8. PKG_DESCR:= touchscreen library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://tslib.berlios.de/
  11. PKG_SITES:= http://download.berlios.de/tslib/
  12. PKG_NEED_CXX:= 1
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,TSLIB,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --disable-ucb1x00 \
  17. --disable-corgi \
  18. --disable-collie \
  19. --disable-h3600 \
  20. --disable-mk712 \
  21. --disable-linear-h2200 \
  22. --disable-arctic2
  23. pre-build:
  24. @chmod u+x ${WRKBUILD}/install-sh
  25. pre-install:
  26. $(INSTALL_DIR) $(WRKINST)/etc
  27. post-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