wok view nzbget/receipt @ rev 22454

get-palemoon: add tar (magic) and J for .xz (downloaded archive is not bzip2 anymore)
author Erkan Yilmaz <erkan@slitaz.org>
date Thu Dec 26 11:01:01 2019 +0000 (2019-12-26)
parents 3ba8d2c9720d
children e93d9fd2f16f
line source
1 # SliTaz package receipt.
3 PACKAGE="nzbget"
4 VERSION="13.0"
5 CATEGORY="network"
6 SHORT_DESC="The most efficient usenet downloader."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://nzbget.net/"
11 WGET_URL="$SF_MIRROR/nzbget/nzbget-stable/$VERSION/$TARBALL"
12 CONFIG_FILES="/etc/nzbget.conf"
14 DEPENDS="libxml2 libssl ncurses gcc-lib-base"
15 BUILD_DEPENDS="libxml2-dev openssl-dev ncurses-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -ltinfo"
21 ./configure --prefix=/usr \
22 --disable-parcheck \
23 $CONFIGURE_ARGS &&
24 make &&
25 make -j 1 DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/nzbget $fs/etc
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 cp -a $install/usr/share/nzbget/nzbget.conf $fs/etc
35 cp -a $install/usr/share/nzbget/scripts $fs/usr/share/nbzget
36 }