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. 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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,TSLIB,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ARGS+= --disable-ucb1x00 \
  16. --disable-corgi \
  17. --disable-collie \
  18. --disable-h3600 \
  19. --disable-mk712 \
  20. --disable-linear-h2200 \
  21. --disable-arctic2
  22. pre-build:
  23. @chmod u+x ${WRKBUILD}/install-sh
  24. post-install:
  25. $(INSTALL_DIR) $(IDIR_TSLIB)/etc
  26. $(INSTALL_DIR) $(IDIR_TSLIB)/usr/lib/ts
  27. $(INSTALL_DIR) $(IDIR_TSLIB)/usr/bin
  28. $(CP) $(WRKINST)/usr/lib/libts*so* $(IDIR_TSLIB)/usr/lib
  29. $(CP) $(WRKINST)/usr/lib/ts/*.so $(IDIR_TSLIB)/usr/lib/ts
  30. $(INSTALL_BIN) $(WRKINST)/usr/bin/ts_calibrate $(IDIR_TSLIB)/usr/bin
  31. $(INSTALL_DATA) $(WRKINST)/etc/ts.conf $(IDIR_TSLIB)/etc
  32. include ${TOPDIR}/mk/pkg-bottom.mk