summaryrefslogtreecommitdiff
path: root/package/gpsd/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-12 09:30:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-12 09:30:49 +0100
commit99ffeabcfc11ffb44d32583fc3d7db37f2fff9fd (patch)
tree3ed3a060ae98f2e7c01e8d2ace7f11a0e732d53d /package/gpsd/Makefile
parent42600701ca5f37210581fd3989796daceef58778 (diff)
update gpsd
Diffstat (limited to 'package/gpsd/Makefile')
-rw-r--r--package/gpsd/Makefile52
1 files changed, 12 insertions, 40 deletions
diff --git a/package/gpsd/Makefile b/package/gpsd/Makefile
index bd1582060..bcebc4ac8 100644
--- a/package/gpsd/Makefile
+++ b/package/gpsd/Makefile
@@ -4,19 +4,15 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= gpsd
-PKG_VERSION:= 2.95
-PKG_RELEASE:= 2
-PKG_MD5SUM:= 12535a9ed9fecf9ea2c5bdc9840da5ae
+PKG_VERSION:= 3.9
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 53a88f24a0973d23427e82e9a8914f19
PKG_DESCR:= An interface daemon for GPS receivers
PKG_SECTION:= misc
PKG_DEPENDS:= libpthread
-PKG_BUILDDEP:= ncurses
-PKG_SITES:= http://download.berlios.de/gpsd/
-PKG_URL:= http://gpsd.berlios.de/
-PKG_CXX:= GPSD
-PKG_NEED_CXX:= 1
-
-PKG_ARCH_DEPENDS:= !native
+PKG_BUILDDEP:= ncurses scons-host python2-host
+PKG_URL:= http://catb.org/gpsd/
+PKG_SITES:= http://download-mirror.savannah.gnu.org/releases/gpsd/
PKG_SUBPKGS:= GPSD GPSD_CLIENTS
PKGSD_GPSD_CLIENTS:= GPS client utilities
@@ -26,37 +22,13 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GPSD,gpsd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,GPSD_CLIENTS,gpsd-clients,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_GPSD_CLIENTS},${PKG_SECTION}))
-TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
-CONFIGURE_ENV+= EGREP="grep -E" \
- CPP="$(TARGET_CC) -E" \
- ac_cv_func_strlcpy=no \
- ac_cv_func_strlcat=no \
- ac_cv_lib_nsl_gethostbyname=no
-CONFIGURE_ARGS+= --disable-dbus
-TARGET_CFLAGS+= -fPIC
-
-ifeq ($(ADK_COMPILE_GPSD_WITH_UCLIBCXX),y)
-LIBRARIES:=-nodefaultlibs -luClibc++ -lgcc -lc
-endif
-
-ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
-LIBRARIES+=-lssp -lssp_nonshared
-endif
-
-ifeq ($(ADK_COMPILE_GPSD_WITH_UCLIBCXX),y)
-TARGET_CXXFLAGS+= -fno-rtti -nostdinc++ \
- -I${STAGING_TARGET_DIR}/usr/include/uClibc++
-TARGET_LDFLAGS+= $(LIBRARIES)
-else
-TARGET_LDFLAGS+= -shared -pthread -lstdc++
-endif
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
-ifeq (${ADK_COMPILE_GPSD_WITH_UCLIBCXX},y)
-# add workaround because libtool tries to link libstdc++
-post-configure:
- ${SED} 's#postdeps="-lstdc.*#postdeps=""#' \
- ${WRKBUILD}/libtool
-endif
+do-install:
+ (cd $(WRKBUILD); PATH='$(TARGET_PATH)' CCFLAGS='' \
+ scons install prefix=$(WRKINST)/usr python=no chrpath=no bluez=no usb=no libgpsmm=no)
gpsd-install:
${INSTALL_DIR} ${IDIR_GPSD}/usr/lib ${IDIR_GPSD}/usr/sbin