1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 03579af13a4d3fe0c5b79fa44b5f75c9f3cac6749357f1d99ce5d38c09bc2029
10 PKG_DESCR
:= interface daemon for gps receivers
12 PKG_BUILDDEP
:= scons-host ncurses
14 PKG_URL
:= http
://catb.org
/gpsd
/
15 PKG_SITES
:= http
://download-mirror.savannah.gnu.org
/releases
/gpsd
/
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
19 PKG_SUBPKGS
:= GPSD GPSD_CLIENTS
20 PKGSD_GPSD_CLIENTS
:= gps client utilities
22 include ${ADK_TOPDIR}/mk
/package.mk
24 $(eval
$(call PKG_template
,GPSD
,gpsd
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 $(eval
$(call PKG_template
,GPSD_CLIENTS
,gpsd-clients
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_GPSD_CLIENTS},${PKG_SECTION}))
30 INSTALL_STYLE
:= manual
33 (cd
$(WRKBUILD
); env PATH
='$(TARGET_PATH)' CCFLAGS
='' DESTDIR
='$(WRKINST)' \
34 scons
install prefix=/usr platform
=linux python
=no chrpath
=no bluez
=no usb
=no libgpsmm
=no
)
37 ${INSTALL_DIR} ${IDIR_GPSD}/usr
/lib
${IDIR_GPSD}/usr
/sbin
38 ${CP} ${WRKINST}/usr
/lib
/libgps.so
* ${IDIR_GPSD}/usr
/lib
39 ${CP} ${WRKINST}/usr
/sbin
/gpsd
${IDIR_GPSD}/usr
/sbin
42 ${INSTALL_DIR} ${IDIR_GPSD_CLIENTS}/usr
/bin
43 ${CP} ${WRKINST}/usr
/bin
/{cgps
,gpxlogger
} \
44 ${IDIR_GPSD_CLIENTS}/usr
/bin
46 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk