aboutsummaryrefslogtreecommitdiffstats
path: root/main/fprobe/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-03 07:46:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-03 07:46:48 +0000
commit8a1df176ce5a4d220752e4c4165992268e5922d2 (patch)
tree0c13ef0513834aab6e36346535cacd5e3b4890c6 /main/fprobe/APKBUILD
parentec38a1cb23de8be3e23f0d9ae51030563da6ca63 (diff)
downloadaports-8a1df176ce5a4d220752e4c4165992268e5922d2.tar.bz2
aports-8a1df176ce5a4d220752e4c4165992268e5922d2.tar.xz
main/fprobe: move from testing
Diffstat (limited to 'main/fprobe/APKBUILD')
-rw-r--r--main/fprobe/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/fprobe/APKBUILD b/main/fprobe/APKBUILD
new file mode 100644
index 0000000000..824129afe5
--- /dev/null
+++ b/main/fprobe/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
+pkgname=fprobe
+pkgver=1.1
+pkgrel=2
+pkgdesc="libpcap-based tool that collect network traffic"
+url="http://fprobe.sourceforge.net/"
+license="GPL"
+depends=
+makedepends="libpcap-dev"
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
+$pkgname.initd
+$pkgname.confd"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+
+ install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+}
+
+md5sums="65850d0470078269b33eee58cba77ac2 fprobe-1.1.tar.bz2
+41810a73503624de2c27809e34ed80b4 fprobe.initd
+ba9c9327456e4db897b60481705df282 fprobe.confd"