@ -7,14 +7,19 @@ include $(TOPDIR)/rules.mk
PKG_NAME := telldus-core
PKG_VERSION := 2.1.2
PKG_RELEASE := 2
PKG_RELEASE := 3
PKG_LICENSE := LGPL-2.1
PKG_BUILD_DEPENDS := argp-standalone
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := http://download.telldus.com/TellStick/Software/telldus-core/
PKG_HASH := a20f6c74814afc23312d2c93ebbb37fdea9deaaee05ae7b6a6275e11e4662014
PKG_INSTALL := 1
PKG_MAINTAINER := Peter Liedholm <PeterFromSwe884@gmail.com>
PKG_LICENSE := LGPL-2.1-or-later
PKG_LICENSE_FILES := LICENSE
CMAKE_INSTALL := 1
PKG_BUILD_PARALLEL := 0
PKG_BUILD_DEPENDS := !USE_GLIBC:argp-standalone
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
@ -24,8 +29,7 @@ define Package/telldus-core
SECTION:= utils
CATEGORY:= Utilities
TITLE:= Telldus TellStick USB interface
URL:= http://www.telldus.com
MAINTAINER:= Peter Liedholm <PeterFromSwe884@gmail.com>
URL:= https://telldus.com
DEPENDS:= +confuse +libftdi +libstdcpp $( ICONV_DEPENDS)
e n d e f
@ -34,17 +38,17 @@ define Package/telldus-core/description
MUST be built with full language support, ( don' t know how to DEPEND that)
e n d e f
d e f i n e P a c k a g e / t e l l d u s - c o r e / c o n f f i l e s
/ e t c / t e l l s t i c k . c o n f
e n d e f
CMAKE_OPTIONS += \
-DBUILD_LIBTELLDUS-CORE= 1 \
-DBUILD_TDTOOL= 1 \
-DGENERATE_MAN= 0 \
-DICONV_LIBRARY= -liconv
TARGET_CXXFLAGS += -fpermissive
d e f i n e P a c k a g e / t e l l d u s - c o r e / c o n f f i l e s
/ e t c / t e l l s t i c k . c o n f
e n d e f
TARGET_CXXFLAGS += $( if $( ICONV_FULL) ,-D_FREEBSD)
d e f i n e P a c k a g e / t e l l d u s - c o r e / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin