blob: 036e6bea25c38a941205fa7d8859ba06c725c88f (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
inherit base toolchain-funcs
DESCRIPTION="Signalling System 7 (SS7) protocol library"
HOMEPAGE="http://www.asterisk.org/"
SRC_URI="http://downloads.asterisk.org/pub/telephony/${PN}/releases/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64"
IUSE=""
RDEPEND=">=net-misc/dahdi-2.0.0"
PATCHES=(
"${FILESDIR}/${PV}-werror-idiocy.patch"
"${FILESDIR}/${PV}-no-ldconfig.patch"
"${FILESDIR}/${PV}-ldflags.patch"
)
src_compile() {
emake CC=$(tc-getCC) LD=$(tc-getLD) DESTDIR="${D}"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc ChangeLog README NEWS* || die "dodoc failed"
}
|