wok annotate nzbget/receipt @ rev 24011

mosh: create /usr/share/terminfo/x/xterm-256color link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 05 17:16:12 2021 +0000 (2021-02-05)
parents a78610b2eb47
children 5ea0ce1cecc0
rev   line source
pascal@17192 1 # SliTaz package receipt.
pascal@17192 2
pascal@17192 3 PACKAGE="nzbget"
Hans-G?nter@23254 4 VERSION="21.0"
pascal@17192 5 CATEGORY="network"
pascal@17192 6 SHORT_DESC="The most efficient usenet downloader."
pascal@17192 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17192 8 LICENSE="GPL2"
Hans-G?nter@23254 9 WEB_SITE="https://nzbget.net/"
Hans-G?nter@23254 10
pascal@17192 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23254 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
Hans-G?nter@23254 13
Hans-G?nter@23254 14 DEPENDS="gcc83-lib-base libssl libxml2 ncurses"
Hans-G?nter@23254 15 BUILD_DEPENDS="gcc83 libxml2-dev ncurses-dev openssl-dev zlib-dev"
Hans-G?nter@23254 16
pascal@17192 17 CONFIG_FILES="/etc/nzbget.conf"
pascal@17192 18
pascal@17192 19 # Rules to configure and make the package.
pascal@17192 20 compile_rules()
pascal@17192 21 {
Hans-G?nter@23254 22 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@23254 23 export ncurses_LIBS=/lib/libncurses.so
Hans-G?nter@23254 24 export ncurses_CFLAGS=" "
Hans-G?nter@23254 25
Hans-G?nter@23254 26 ./configure \
Hans-G?nter@23254 27 CC=gcc-83 \
Hans-G?nter@23254 28 CXX=g++-83 \
Hans-G?nter@23254 29 --prefix=/usr \
Hans-G?nter@23254 30 --disable-parcheck \
pascal@17192 31 $CONFIGURE_ARGS &&
pascal@17192 32 make &&
Hans-G?nter@23254 33 make DESTDIR=$DESTDIR install
pascal@17192 34 }
pascal@17192 35
pascal@17192 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17192 37 genpkg_rules()
pascal@17192 38 {
Hans-G?nter@23254 39 mkdir -p $fs/usr/share/nzbget
Hans-G?nter@23254 40 mkdir -p $fs/etc
Hans-G?nter@23254 41
Hans-G?nter@23254 42 cp -a $install/usr/bin $fs/usr
Hans-G?nter@23254 43 # 21.0 functions of nzbgetd contained in nzbget
Hans-G?nter@23254 44 # cp -a $install/usr/sbin $fs/usr
Hans-G?nter@23254 45 cp -a $install/usr/share/nzbget/nzbget.conf $fs/etc
Hans-G?nter@23254 46 cp -a $install/usr/share/nzbget/scripts $fs/usr/share/nbzget
pascal@17192 47 }