Commit efcbbcd0 authored by Jeff Bilyk's avatar Jeff Bilyk

testing/spectools: new aport

ref #671
parent c2ec1fbb
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=spectools
pkgver=201004
_pkgver=2010-04-R1
pkgrel=0
pkgdesc="Utilities for using Wi-Spy USB spectrum analyzer"
url="https://www.kismetwireless.net/spectools/"
arch="all"
license="GPL-2"
depends=""
depends_dev="gtk+2.0-dev bash cairo-dev libusb-compat-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://www.kismetwireless.net/code/$pkgname-${_pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-${_pkgver}
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
autoreconf --install
./configure --prefix=/usr \
--sysconfdir=/etc/
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="1574813385fbe652736b439accec7120 spectools-2010-04-R1.tar.gz"
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