aboutsummaryrefslogtreecommitdiffstats
path: root/community/ipcalc/APKBUILD
blob: d35fa51bf5966dd28be28b23c19c5d15ce7f8499 (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ipcalc
pkgver=0.41
pkgrel=0
pkgdesc="Network IP calculator"
url="http://jodies.de/ipcalc"
arch="noarch"
license="GPL"
depends="perl"
makedepends=""
install=""
subpackages=""
source="http://jodies.de/ipcalc-archive/$pkgname-$pkgver.tar.gz
fix-ipcalc-path.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	return 0
}

package() {
	cd "$builddir"
	install -Dm0755 ipcalc.cgi "$pkgdir"/usr/lib/$pkgname/cgi-bin/ipcalc.cgi
	install -Dm0755 ipcalc "$pkgdir"/usr/bin/ipcalc
}

md5sums="fb791e9a5220fc8e624d915e18fc4697  ipcalc-0.41.tar.gz
4bb78707597d1864630c890a27a4bd14  fix-ipcalc-path.patch"
sha256sums="dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a  ipcalc-0.41.tar.gz
059447b228ea2ddb7af7023c512f5419631b20cdd6c1f75308e2f4ff1824d5d7  fix-ipcalc-path.patch"
sha512sums="089eb2b9a38b07caa182ff11547a93d86aed570311fc8cd9e636c7546ab4d15acc854b9d79bbba9c797dcfbbedd1d6f4d521aec97bf613905fe5198a29c9889d  ipcalc-0.41.tar.gz
fd1a77af234d58d7d3dafc161774006a044bf317190f18bc7aa0bee75d2ef4d7ef1d0ebe63585cf4daff093af6a1c7b87bb0b39f3de7bfc918d18ec010951d14  fix-ipcalc-path.patch"