@ -10,12 +10,16 @@ include $(TOPDIR)/rules.mk
PKG_NAME := ntripcaster
PKG_NAME := ntripcaster
PKG_VERSION := 0.1.5
PKG_VERSION := 0.1.5
PKG_RELEASE := 1
PKG_LICENSE := GPL-2.0+
PKG_SOURCE := $( PKG_NAME) $( PKG_VERSION) .zip
PKG_SOURCE_URL := http://igs.bkg.bund.de/root_ftp/NTRIP/software/
PKG_MD5SUM := 8c85a6c31d8c5cdf2638fe103207a1fd
PKG_RELEASE = $( PKG_SOURCE_VERSION)
PKG_SOURCE_PROTO := git
PKG_SOURCE_URL := https://github.com/nunojpg/ntripcaster.git
PKG_SOURCE_SUBDIR := $( PKG_NAME) -$( PKG_VERSION)
PKG_SOURCE_VERSION := 03878920195cf854b38a1ea424f1cae57353fa87
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) -$( PKG_SOURCE_VERSION) .tar.gz
PKG_LICENSE := GPL-2.0+
PKG_MAINTAINER := Nuno Goncalves <nunojpg@gmail.com>
PKG_MAINTAINER := Nuno Goncalves <nunojpg@gmail.com>
@ -34,19 +38,12 @@ define Package/ntripcaster/description
BKG Standard Ntrip Broadcaster
BKG Standard Ntrip Broadcaster
e n d e f
e n d e f
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)
mv $( PKG_BUILD_DIR) /$( PKG_NAME) $( PKG_VERSION) /* $( PKG_BUILD_DIR)
chmod +x $( PKG_BUILD_DIR) /configure
e n d e f
d e f i n e P a c k a g e / n t r i p c a s t e r / i n s t a l l
d e f i n e P a c k a g e / n t r i p c a s t e r / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/local/ntripcaster/ bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /src/ntripcaster $( 1) /usr/local/ntripcaster/ bin/
$( INSTALL_DIR) $( 1) /usr/local /ntripcaster/conf
$( INSTALL_DATA) $( PKG_BUILD_DIR) /conf/ntripcaster.conf.dist $( 1) /usr/local /ntripcaster/conf/
$( INSTALL_DATA) $( PKG_BUILD_DIR) /conf/sourcetable.dat.dist $( 1) /usr/local /ntripcaster/conf/
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /src/ntripcaster $( 1) /usr/bin/
$( INSTALL_DIR) $( 1) /usr/share/ntripcaster/conf
$( INSTALL_DATA) $( PKG_BUILD_DIR) /conf/ntripcaster.conf.dist $( 1) /usr/share/ntripcaster/conf/
$( INSTALL_DATA) $( PKG_BUILD_DIR) /conf/sourcetable.dat.dist $( 1) /usr/share/ntripcaster/conf/
e n d e f
e n d e f
$( eval $ ( call BuildPackage ,ntripcaster ) )
$( eval $ ( call BuildPackage ,ntripcaster ) )