aboutsummaryrefslogtreecommitdiffstats
path: root/testing/smap/APKBUILD
blob: 4c6dfa9e43bb240e0c1c1ee359ede9e970a9390e (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
# 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
}

md5sums="814456ccc8fea5688382b7ec55fe44eb  smap-20081016.tar.gz"