aboutsummaryrefslogtreecommitdiffstats
path: root/testing/iprange/APKBUILD
blob: ed47c48e96ff31d40d2f30cde35e095467c037d3 (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
# Contributor: Jonny Tyers <jtyers@gmail.com>
# Maintainer: Jonny Tyers <jtyers@gmail.com>
pkgname=iprange
pkgver=1.0.4
pkgrel=0
pkgdesc="manages IP ranges (part of FireHOL)"
url="https://github.com/firehol/iprange"
arch="all"
license="GPL-2.0-or-later"
makedepends="autoconf automake libtool help2man"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/firehol/iprange/archive/v$pkgver.tar.gz"
options="!check"

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc/ssh \
		--datadir=/usr/share/openssh \
		--libexecdir=/usr/lib/ssh \
		--mandir=/usr/share/man \
		--enable-maintainer-mode
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="c72bdc71a2bf24e4c17bb2267220e11d09afd5c728b0e929c718e8103ed4d96a9620c559fe6d955e3d688f3c7a989510897c444d3ad9a5369aa93150e68177f3  iprange-1.0.4.tar.gz"