aboutsummaryrefslogtreecommitdiffstats
path: root/testing/netsed/APKBUILD
blob: 5881c84e1c5b63ad135081a37185d30239f816ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=netsed
pkgver=1.3
pkgrel=1
pkgdesc="The network packet stream editor"
url="http://silicone.homelinux.org/projects/netsed/"
arch="all"
license="GPL"
checkdepends="ruby ruby-test-unit" 
makedepends="linux-headers"
source="http://silicone.homelinux.org/release/$pkgname/$pkgname-$pkgver.tar.gz
default-path.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	make test
}

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

sha512sums="5ffed86b462c6f89dac9d19184917b5b0759b49862ba0b34701ff2d3aa8cfe55502abb0b09594eb993c50a18962f0ca30c8e9cb96d2445f8c2877189b9a9ac79  netsed-1.3.tar.gz
a4c4cdcdaf8b5b6286d7b4870e06bf5b783e58f8ee19efee245aa3d2612b7257340799ac0fc188c928a11612591499759c477dfce7914cefd8e9403854dfd032  default-path.patch"