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