diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-08-24 14:46:34 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-08-24 14:46:34 +0000 |
commit | 82bffc8d12192f0c1a7ef708e2e5129ab1345b8a (patch) | |
tree | 2db07c71868a9b3abf526da62aa1d609d71ef26c /testing | |
parent | 105df11a76e467fc8d32fea8efb32bcd45b2f046 (diff) | |
download | aports-82bffc8d12192f0c1a7ef708e2e5129ab1345b8a.tar.bz2 aports-82bffc8d12192f0c1a7ef708e2e5129ab1345b8a.tar.xz |
testing/dhcp-probe: renamed dhcp_probe to dhcp-probe
Diffstat (limited to 'testing')
-rw-r--r-- | testing/dhcp-probe/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/dhcp-probe/APKBUILD b/testing/dhcp-probe/APKBUILD new file mode 100644 index 0000000000..6e1d12c7a0 --- /dev/null +++ b/testing/dhcp-probe/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=dhcp-probe +_pkgname=dhcp_probe +pkgver=1.3.0 +pkgrel=0 +pkgdesc="Allows network administrators to make calculations that will assist in subnetting a network" +url="http://www.net.princeton.edu/software/dhcp_probe/" +arch="all" +license="GPL" +depends="" +depends_dev="libnet-dev libpcap-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://www.net.princeton.edu/software/$_pkgname/$_pkgname-$pkgver.tar.gz" +_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 +} +build() { + cd "$_builddir" + ./configure --prefix=/usr + make || return 1 +} +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} +md5sums="8067e696fbd88120bdcc2ffef4b64da2 dhcp_probe-1.3.0.tar.gz" |