aboutsummaryrefslogtreecommitdiffstats
path: root/testing/smap
diff options
context:
space:
mode:
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"