2014-03-27 07:04:05 +00:00
#
# Copyright (C) 2011 segal.ubi.pt
2011-12-30 01:34:18 +00:00
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := ntripserver
PKG_VERSION := 1.5.1
2014-03-08 00:57:26 +00:00
PKG_RELEASE := 2
2011-12-30 01:34:18 +00:00
PKG_SOURCE := $( PKG_NAME) .zip
PKG_SOURCE_URL := http://igs.bkg.bund.de/root_ftp/NTRIP/software/
PKG_MD5SUM := cecff5da0173896df041bd889935fc12
2014-02-05 20:17:18 +00:00
PKG_MAINTAINER := Nuno Goncalves <nunojpg@gmail.com>
2011-12-30 01:34:18 +00:00
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / n t r i p s e r v e r
SECTION:= net
CATEGORY:= Network
SUBMENU:= NTRIP
TITLE:= Ntrip Version 2.0 Command Line Server
URL:= http://igs.bkg.bund.de/ntrip/download
e n d e f
d e f i n e P a c k a g e / n t r i p s e r v e r / d e s c r i p t i o n
Ntrip Version 2.0 Command Line Server, reading from SISNeT Server, TCP/UDP IP Port, Serial port, or NtripCaster to support an Ntrip Version 1.0 or 2.0 Caster
e n d e f
2014-03-08 00:57:26 +00:00
MAKE_FLAGS += \
OPTS = " $( TARGET_CFLAGS) "
2011-12-30 01:34:18 +00:00
d e f i n e B u i l d / P r e p a r e
mkdir -p $( PKG_BUILD_DIR)
unzip $( DL_DIR) /$( PKG_SOURCE) -d $( PKG_BUILD_DIR)
e n d e f
d e f i n e P a c k a g e / n t r i p s e r v e r / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /ntripserver $( 1) /usr/bin/
e n d e f
$( eval $ ( call BuildPackage ,ntripserver ) )