summaryrefslogtreecommitdiff
path: root/homebrew/nzbget/.make.sh-auto
blob: 7df8d4e2f158c094090e7b37efdcc7ae23bcc2b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
pkg:setup
ENV.cxx11
(buildpath/"brew_include").install_symlink MacOS.sdk_path/"usr/include/ncurses.h"
ENV["ncurses_CFLAGS"] = "-I#{buildpath}/brew_include"
ENV["ncurses_LIBS"] = "-L/usr/lib -lncurses"
pkg:configure --disable-dependency-tracking --with-tlslib=OpenSSL
make
ENV.deparallelize
make DESTDIR=${PKG_DEST} install
pkgshare.install_symlink "nzbget.conf" => "webui/nzbget.conf"
inreplace "nzbget.conf", "DirectWrite=yes", "DirectWrite=no"
inreplace "nzbget.conf", "ArticleCache=0", "ArticleCache=700"
etc.install "nzbget.conf"