wok rev 23254

updated nzbget (13.0 -> 21.0)
author Hans-G?nter Theisgen
date Wed Mar 25 16:49:46 2020 +0100 (9 days ago)
parents 3fb4857df70a
children e1e99c585768
files nzbget/receipt
line diff
     1.1 --- a/nzbget/receipt	Wed Mar 25 15:08:12 2020 +0100
     1.2 +++ b/nzbget/receipt	Wed Mar 25 16:49:46 2020 +0100
     1.3 @@ -1,36 +1,47 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nzbget"
     1.7 -VERSION="13.0"
     1.8 +VERSION="21.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="The most efficient usenet downloader."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://nzbget.net/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://nzbget.net/"
    1.17 -WGET_URL="$SF_MIRROR/nzbget/nzbget-stable/$VERSION/$TARBALL"
    1.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
    1.19 +
    1.20 +DEPENDS="gcc83-lib-base libssl libxml2 ncurses"
    1.21 +BUILD_DEPENDS="gcc83 libxml2-dev ncurses-dev openssl-dev zlib-dev"
    1.22 +
    1.23  CONFIG_FILES="/etc/nzbget.conf"
    1.24  
    1.25 -DEPENDS="libxml2 libssl ncurses gcc-lib-base"
    1.26 -BUILD_DEPENDS="libxml2-dev openssl-dev ncurses-dev zlib-dev"
    1.27 -
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	export LDFLAGS="$LDFLAGS -ltinfo"
    1.32 -	./configure --prefix=/usr \
    1.33 -		--disable-parcheck \
    1.34 +	export	LDFLAGS="$LDFLAGS -ltinfo"
    1.35 +	export	ncurses_LIBS=/lib/libncurses.so
    1.36 +	export	ncurses_CFLAGS=" "
    1.37 +
    1.38 +	./configure			\
    1.39 +		CC=gcc-83		\
    1.40 +		CXX=g++-83		\
    1.41 +		--prefix=/usr		\
    1.42 +		--disable-parcheck	\
    1.43  		$CONFIGURE_ARGS &&
    1.44  	make &&
    1.45 -	make -j 1 DESTDIR=$DESTDIR install
    1.46 +	make DESTDIR=$DESTDIR install
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52 -	mkdir -p $fs/usr/share/nzbget $fs/etc
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 -	cp -a $install/usr/sbin $fs/usr
    1.55 -	cp -a $install/usr/share/nzbget/nzbget.conf $fs/etc
    1.56 -	cp -a $install/usr/share/nzbget/scripts $fs/usr/share/nbzget
    1.57 +	mkdir -p $fs/usr/share/nzbget
    1.58 +	mkdir -p $fs/etc
    1.59 +
    1.60 +	cp -a $install/usr/bin				$fs/usr
    1.61 +	# 21.0 functions of nzbgetd contained in nzbget
    1.62 +	# cp -a $install/usr/sbin $fs/usr
    1.63 +	cp -a $install/usr/share/nzbget/nzbget.conf	$fs/etc
    1.64 +	cp -a $install/usr/share/nzbget/scripts		$fs/usr/share/nbzget
    1.65  }