1
0

Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= gpsd
  5. PKG_VERSION:= 3.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 53a88f24a0973d23427e82e9a8914f19
  8. PKG_DESCR:= An interface daemon for GPS receivers
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= libpthread
  11. PKG_BUILDDEP:= ncurses scons-host bzip2-host python2-host
  12. PKG_URL:= http://catb.org/gpsd/
  13. PKG_SITES:= http://download-mirror.savannah.gnu.org/releases/gpsd/
  14. PKG_SUBPKGS:= GPSD GPSD_CLIENTS
  15. PKGSD_GPSD_CLIENTS:= GPS client utilities
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,GPSD,gpsd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,GPSD_CLIENTS,gpsd-clients,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_GPSD_CLIENTS},${PKG_SECTION}))
  19. CONFIG_STYLE:= manual
  20. BUILD_STYLE:= manual
  21. INSTALL_STYLE:= manual
  22. do-install:
  23. (cd $(WRKBUILD); PATH='$(TARGET_PATH)' CCFLAGS='' \
  24. scons install prefix=$(WRKINST)/usr python=no chrpath=no bluez=no usb=no libgpsmm=no)
  25. gpsd-install:
  26. ${INSTALL_DIR} ${IDIR_GPSD}/usr/lib ${IDIR_GPSD}/usr/sbin
  27. ${CP} ${WRKINST}/usr/lib/libgps.so* ${IDIR_GPSD}/usr/lib
  28. ${CP} ${WRKINST}/usr/lib/libgpsd.so* ${IDIR_GPSD}/usr/lib
  29. ${CP} ${WRKINST}/usr/sbin/gpsd ${IDIR_GPSD}/usr/sbin
  30. gpsd-clients-install:
  31. ${INSTALL_DIR} ${IDIR_GPSD_CLIENTS}/usr/bin
  32. ${CP} ${WRKINST}/usr/bin/{cgps,gpxlogger} \
  33. ${IDIR_GPSD_CLIENTS}/usr/bin
  34. include ${TOPDIR}/mk/pkg-bottom.mk