Commit c32d1800 authored by Francesco Colista's avatar Francesco Colista
Browse files

testing/netsed: new aport

parent 01e2813e
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=netsed
pkgver=1.2
pkgrel=0
pkgdesc="The network packet stream editor"
url="http://silicone.homelinux.org/projects/netsed/"
arch="all"
license="GPL"
makedepends="$depends_dev linux-headers"
source="http://silicone.homelinux.org/release/$pkgname/$pkgname-$pkgver.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.tar.gz
a785f53af5a689689d4dee56567c7ad7 default-path.patch"
sha256sums="0a7f12bac83d02c6fc837055bf4ff02c1bdfc8ea478227afcc762e92d1661c80 netsed-1.2.tar.gz
c8b6f3a7046a4482911a3c09ccad6104b8a7735b8081e4b7439713d72e8129f3 default-path.patch"
sha512sums="e907ba1ce3c0a7f3cd02a85ace89097c86e239ef7fb0647dc3a8b2b5ef42a89f7f8889113ca37ab44910b66130f6d4921be3d52363b73a8d37211eac500c01a6 netsed-1.2.tar.gz
a4c4cdcdaf8b5b6286d7b4870e06bf5b783e58f8ee19efee245aa3d2612b7257340799ac0fc188c928a11612591499759c477dfce7914cefd8e9403854dfd032 default-path.patch"
diff --git a/Makefile b/Makefile
index 07d844f..12a8ee6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CFLAGS += -Wall -fomit-frame-pointer
-PREFIX ?= /usr/local
+PREFIX ?= /usr
ifeq "$(shell uname -s)" "SunOS"
LDFLAGS += -lsocket
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment