# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=netsed
pkgver=1.2
pkgrel=1
pkgdesc="The network packet stream editor"
url="http://silicone.homelinux.org/projects/netsed/"
arch="all"
license="GPL"
makedepends="$depends_dev linux-headers"
source="http://http.debian.net/debian/pool/main/n/$pkgname/${pkgname}_${pkgver}.orig.tar.gz
default-path.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="4422b3cded2278438b5ab4f3ae4b992f  netsed_1.2.orig.tar.gz
a785f53af5a689689d4dee56567c7ad7  default-path.patch"
sha256sums="0a7f12bac83d02c6fc837055bf4ff02c1bdfc8ea478227afcc762e92d1661c80  netsed_1.2.orig.tar.gz
c8b6f3a7046a4482911a3c09ccad6104b8a7735b8081e4b7439713d72e8129f3  default-path.patch"
sha512sums="e907ba1ce3c0a7f3cd02a85ace89097c86e239ef7fb0647dc3a8b2b5ef42a89f7f8889113ca37ab44910b66130f6d4921be3d52363b73a8d37211eac500c01a6  netsed_1.2.orig.tar.gz
a4c4cdcdaf8b5b6286d7b4870e06bf5b783e58f8ee19efee245aa3d2612b7257340799ac0fc188c928a11612591499759c477dfce7914cefd8e9403854dfd032  default-path.patch"
