diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-20 09:47:15 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-20 09:47:15 +0000 |
commit | 0ecfe90fe3079d698803bcd3c2835d12e3d1b952 (patch) | |
tree | 8ad233391cb9e3403d8cace5e365bb74b2579f67 /testing | |
parent | 06ffa5b4f39b70684f9376108e8053cd8e8fe23e (diff) | |
download | aports-0ecfe90fe3079d698803bcd3c2835d12e3d1b952.tar.bz2 aports-0ecfe90fe3079d698803bcd3c2835d12e3d1b952.tar.xz |
testing/dhcping: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/dhcping/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/dhcping/APKBUILD b/testing/dhcping/APKBUILD new file mode 100644 index 0000000000..9c24e03f68 --- /dev/null +++ b/testing/dhcping/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=dhcping +pkgver=1.2 +pkgrel=0 +pkgdesc="dhcp daemon ping program" +url="http://www.mavetju.org/unix/general.php" +arch="all" +license="custom" +depends="" +makedepends="" +install="" +subpackages="$pkgname-doc" +source="http://www.mavetju.org/download/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man + make || return 1 + +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +md5sums="c4b22bbf3446c8567e371c40aa552d5d dhcping-1.2.tar.gz" +sha256sums="32ef86959b0bdce4b33d4b2b216eee7148f7de7037ced81b2116210bc7d3646a dhcping-1.2.tar.gz" +sha512sums="84ead27ba07f7ecc1e8cf6d95b40c98ee20a39ce54386249f403120beac70c45d765d5268b4968dbfbbb92790adcc1eb648c3a87071d215ad64bcd23aec818d3 dhcping-1.2.tar.gz" |