summaryrefslogtreecommitdiffstats
path: root/testing/sipcrack/APKBUILD
blob: b8e7e5efbc59f2c8d6e9375c5f74bedeab5d4141 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=sipcrack
pkgver=0.2
pkgrel=0
pkgdesc="A SIP protocol login cracker"
url="http://packages.debian.org/lenny/sipcrack"
arch="all"
license="Custom"
depends=""
depends_dev=""
makedepends="libpcap-dev openssl-dev"
install=""
subpackages=""
source="http://ftp.de.debian.org/debian/pool/main/s/$pkgname/"$pkgname"_"$pkgver".orig.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	for file in sipcrack sipdump; do
		install -Dm 0755 $file "$pkgdir"/usr/bin/$file || return 1
	done
}

md5sums="b9096c8d537fc231c7d74b759831a4c7  sipcrack_0.2.orig.tar.gz"