summaryrefslogtreecommitdiffstats
path: root/testing/smap/APKBUILD
blob: cbeca96b198d794b15f2a71318f17d82f0fe19fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"