From 82bffc8d12192f0c1a7ef708e2e5129ab1345b8a Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Fri, 24 Aug 2012 14:46:34 +0000 Subject: testing/dhcp-probe: renamed dhcp_probe to dhcp-probe --- testing/dhcp-probe/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 testing/dhcp-probe/APKBUILD (limited to 'testing') diff --git a/testing/dhcp-probe/APKBUILD b/testing/dhcp-probe/APKBUILD new file mode 100644 index 000000000..6e1d12c7a --- /dev/null +++ b/testing/dhcp-probe/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +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" -- cgit v1.2.3