wok-6.x annotate nzbget/receipt @ rev 21404
Up hiawatha (10.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 23 11:00:59 2019 +0200 (2019-04-23) |
parents | 3ba8d2c9720d |
children | e93d9fd2f16f |
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@20669 | 10 WEB_SITE="https://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@17672 | 20 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@17192 | 21 ./configure --prefix=/usr \ |
pascal@17192 | 22 --disable-parcheck \ |
pascal@17192 | 23 $CONFIGURE_ARGS && |
pascal@17192 | 24 make && |
pascal@17193 | 25 make -j 1 DESTDIR=$DESTDIR install |
pascal@17192 | 26 } |
pascal@17192 | 27 |
pascal@17192 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17192 | 29 genpkg_rules() |
pascal@17192 | 30 { |
pascal@17192 | 31 mkdir -p $fs/usr/share/nzbget $fs/etc |
pascal@17192 | 32 cp -a $install/usr/bin $fs/usr |
pascal@17192 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@17192 | 34 cp -a $install/usr/share/nzbget/nzbget.conf $fs/etc |
pascal@17192 | 35 cp -a $install/usr/share/nzbget/scripts $fs/usr/share/nbzget |
pascal@17192 | 36 } |