blob: c39ae6f58f0178bdb06ff94e9bb21b3087e9aa25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=nzbget
pkgver=15.0
pkgrel=0
pkgdesc="Usenet downloader"
url="http://nzbget.net"
arch="all"
license="GPL2"
depends=""
depends_dev="libxml2-dev ncurses-dev openssl-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver.tar.gz
add_stdint.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
update_config_sub
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-parcheck \
--with-tlslib=OpenSSL \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="452a549eef67504b6af2598fbbcd93d3 nzbget-15.0.tar.gz
0315a4ac71d7dc49a74a7a7c8422420e add_stdint.patch"
sha256sums="3ef13f3e5917e4cda19c4fc0cd37e79967a19b4e3448c239ff24e37712a6cc0a nzbget-15.0.tar.gz
2d2aa4f1a9da3ae9c4fc0ef70dbbd15815d3bdfff865e444c4ca79d6697e3504 add_stdint.patch"
sha512sums="7233bea56f99e541155eac3e1d31f2603a407aee7055492c2bf20efc9b40a58e9e5f3b7ee7dada9278cb4bdc8b30a0e62f377235e12ac43c88f9111864d3a706 nzbget-15.0.tar.gz
a96d63744a549ee287ce284c4b7136259705168fdfcbd82171c288b71479a185856d885946b7ff76ea36a049619ec1e572b28143fdc728ca359895eab679621d add_stdint.patch"
|