rev |
line source |
pascal@17192
|
1 # SliTaz package receipt.
|
pascal@17192
|
2
|
pascal@17192
|
3 PACKAGE="nzbget"
|
pascal@17192
|
4 VERSION="13.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"
|
pascal@17192
|
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
pascal@17192
|
10 WEB_SITE="http://nzbget.net/"
|
pascal@17192
|
11 WGET_URL="$SF_MIRROR/nzbget/nzbget-stable/$VERSION/$TARBALL"
|
pascal@17192
|
12 CONFIG_FILES="/etc/nzbget.conf"
|
pascal@17192
|
13
|
pascal@17192
|
14 DEPENDS="libxml2 libssl ncurses gcc-lib-base"
|
pascal@17192
|
15 BUILD_DEPENDS="libxml2-dev openssl-dev ncurses-dev zlib-dev"
|
pascal@17192
|
16
|
pascal@17192
|
17 # Rules to configure and make the package.
|
pascal@17192
|
18 compile_rules()
|
pascal@17192
|
19 {
|
pascal@17192
|
20 ./configure --prefix=/usr \
|
pascal@17192
|
21 --disable-parcheck \
|
pascal@17192
|
22 $CONFIGURE_ARGS &&
|
pascal@17192
|
23 make &&
|
pascal@17193
|
24 make -j 1 DESTDIR=$DESTDIR install
|
pascal@17192
|
25 }
|
pascal@17192
|
26
|
pascal@17192
|
27 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pascal@17192
|
28 genpkg_rules()
|
pascal@17192
|
29 {
|
pascal@17192
|
30 mkdir -p $fs/usr/share/nzbget $fs/etc
|
pascal@17192
|
31 cp -a $install/usr/bin $fs/usr
|
pascal@17192
|
32 cp -a $install/usr/sbin $fs/usr
|
pascal@17192
|
33 cp -a $install/usr/share/nzbget/nzbget.conf $fs/etc
|
pascal@17192
|
34 cp -a $install/usr/share/nzbget/scripts $fs/usr/share/nbzget
|
pascal@17192
|
35 }
|