wok annotate nzbget/receipt @ rev 19316

Fix build: clamtk, cpu-g, cups-filters.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jul 12 15:17:10 2016 +0300 (2016-07-12)
parents bc03e47a67e8
children a78610b2eb47
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@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 }