/[gentoo-x86]/net-misc/tcpsound/tcpsound-0.3.1-r1.ebuild
Gentoo

Diff of /net-misc/tcpsound/tcpsound-0.3.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.5
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/tcpsound/tcpsound-0.3.1-r1.ebuild,v 1.2 2012/11/18 06:48:19 pinkbyte Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/tcpsound/tcpsound-0.3.1-r1.ebuild,v 1.5 2014/07/18 21:27:18 jer Exp $
4 4
5EAPI="4" 5EAPI=5
6
7inherit base toolchain-funcs 6inherit eutils toolchain-funcs
8 7
9DESCRIPTION="Play sounds in response to network traffic" 8DESCRIPTION="Play sounds in response to network traffic"
9LICENSE="BSD"
10HOMEPAGE="http://www.ioplex.com/~miallen/tcpsound/" 10HOMEPAGE="http://www.ioplex.com/~miallen/tcpsound/"
11SRC_URI="http://www.ioplex.com/~miallen/tcpsound/dl/${P}.tar.gz" 11SRC_URI="${HOMEPAGE}dl/${P}.tar.gz"
12SLOT="0"
13KEYWORDS="amd64 x86"
12 14
13LICENSE="BSD" 15DEPEND="
14SLOT="0" 16 dev-libs/libmba
15KEYWORDS="~amd64 ~x86"
16IUSE=""
17
18DEPEND="net-analyzer/tcpdump
19 media-libs/libsdl 17 media-libs/libsdl
20 dev-libs/libmba" 18 net-analyzer/tcpdump
19"
21RDEPEND="${DEPEND}" 20RDEPEND="${DEPEND}"
22 21
23DOCS=( README.txt elaborate.conf ) 22DOCS=( README.txt elaborate.conf )
24PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
25 23
26src_prepare() { 24src_prepare() {
27 # Fix paths 25 epatch \
28 sed -i -e "s;/usr/share/sounds:/usr/local/share/sounds;/usr/share/tcpsound;g"\ 26 "${FILESDIR}"/${P}-makefile.patch \
29 "${S}"/src/tcpsound.c "${S}"/elaborate.conf || die 'sed failed' 27 "${FILESDIR}"/${P}-misc.patch
30
31 base_src_prepare
32} 28}
33 29
34src_compile() { 30src_compile() {
35 emake CC="$(tc-getCC)" 31 emake CC="$(tc-getCC)"
36} 32}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20