aboutsummaryrefslogtreecommitdiffstats
path: root/testing/smap
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-05-19 10:26:22 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-20 16:57:44 +0000
commit78127647072f87bf44715429bbea77946d700a07 (patch)
treef88aa429878e49a9b98c95f0fe2a50347ceff8da /testing/smap
parent8df4b9b2ccf0e87a8f7cfea43914d968b778aeb3 (diff)
downloadaports-78127647072f87bf44715429bbea77946d700a07.tar.bz2
aports-78127647072f87bf44715429bbea77946d700a07.tar.xz
testing/smap: new aport
A simple scanner for SIP enabled devices. http://www.wormulon.net/smap
Diffstat (limited to 'testing/smap')
-rw-r--r--testing/smap/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/smap/APKBUILD b/testing/smap/APKBUILD
new file mode 100644
index 0000000000..cbeca96b19
--- /dev/null
+++ b/testing/smap/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=smap
+pkgver=20081016
+pkgrel=0
+pkgdesc="A simple scanner for SIP enabled devices"
+url="http://www.wormulon.net/smap"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://mirror2.openwrt.org/sources/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname
+
+prepare() {
+ return 0
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -m0755 -D $pkgname "$pkgdir"/usr/bin/$pkgname || return 1
+ install -m0755 -D "$_builddir"/fingerprint.db \
+ "$pkgdir"/usr/share/$pkgname//fingerprint.db || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="814456ccc8fea5688382b7ec55fe44eb smap-20081016.tar.gz"