aports/testing/smap/APKBUILD
Bartłomiej Piotrowski b4a13e7314 Do not delete *.la files manually
Since abuild v2.22.0, these are removed automatically unless 'libtool'
option has been specified.
2015-09-10 13:59:03 +02:00

35 lines
798 B
Plaintext

# 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"