diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2011-06-04 23:34:25 +0000 |
---|---|---|
committer | Jeff Bilyk <jbilyk@gmail.com> | 2011-06-04 23:34:25 +0000 |
commit | efcbbcd0c1d4dae7242834692d01c2578b546b34 (patch) | |
tree | ca624060b061159b278deb1169e9e5cbfd79db70 /testing/spectools/APKBUILD | |
parent | c2ec1fbb1a0b78371285ca712745cd20c869b6cd (diff) | |
download | aports-efcbbcd0c1d4dae7242834692d01c2578b546b34.tar.bz2 aports-efcbbcd0c1d4dae7242834692d01c2578b546b34.tar.xz |
testing/spectools: new aport
ref #671
Diffstat (limited to 'testing/spectools/APKBUILD')
-rw-r--r-- | testing/spectools/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/spectools/APKBUILD b/testing/spectools/APKBUILD new file mode 100644 index 0000000000..e8d09a4a19 --- /dev/null +++ b/testing/spectools/APKBUILD @@ -0,0 +1,41 @@ +# 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" |