pentoo-overlay/app-crypt/SIPcrack/SIPcrack-0.4.ebuild
2010-03-21 21:31:51 +00:00

32 lines
687 B
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit toolchain-funcs eutils
DESCRIPTION="SIPcrack is a SIP protocol login cracker"
HOMEPAGE="http://www.remote-exploit.org/?page_id=418"
SRC_URI="http://www.remote-exploit.org/wp-content/uploads/2010/01/SIPcrack-0.4.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~arm"
IUSE=""
DEPEND="net-libs/libpcap"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i "s|-O3|$CFLAGS|g" Makefile || die "sed faileD"
}
src_compile() {
emake -e CC="$(tc-getCC)" || die "emake failed"
}
src_install() {
dobin sipcrack sipdump
dodoc README USAGE_EXAMPLES
}