wok-6.x view nzbget/receipt @ rev 17734

dahdi-linux: save firmware as source
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 11:23:56 2015 +0100 (2015-03-06)
parents bc03e47a67e8
children a78610b2eb47
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="http://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 }