main/tcpflow: minor changes

This commit is contained in:
Fabian Affolter 2012-08-06 20:01:05 +00:00
parent c5ea113f75
commit 83a331f693

View File

@ -2,29 +2,30 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tcpflow
pkgver=1.2.8
pkgrel=0
pkgrel=1
pkgdesc="A Tool for monitoring, capturing and storing TCP connections flows"
url="https://github.com/simsong/tcpflow/wiki/tcpflow-%E2%80%94-A-tcp-ip-session-reassembler"
arch="all"
license="GPL"
depends=
license="GPL3"
depends=""
makedepends="libpcap-dev"
install=
install=""
subpackages="$pkgname-doc"
source="https://github.com/downloads/simsong/tcpflow/tcpflow-1.2.8.tar.gz"
source="https://github.com/downloads/simsong/tcpflow/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
cd "$_builddir"
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="6fa51c81fad9d836371903ab14b03f8c tcpflow-1.2.8.tar.gz"