1
0

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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= tslib
  5. PKG_VERSION:= 1.0
  6. PKG_RELEASE:= 1
  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. http://download2.berlios.de/tslib/
  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_STYLE:= autogen gnu
  17. CONFIGURE_ARGS+= --disable-ucb1x00 \
  18. --disable-corgi \
  19. --disable-collie \
  20. --disable-h3600 \
  21. --disable-mk712 \
  22. --disable-linear-h2200 \
  23. --disable-arctic2
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= auto
  26. post-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