/[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.1 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.1 2012/10/18 12:21:33 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="~x86"
16IUSE=""
17
18DEPEND="net-analyzer/tcpdump
19 media-libs/libsdl 17 media-libs/libsdl
20 dev-libs/libmba" 18 net-analyzer/tcpdump
19"
20RDEPEND="${DEPEND}"
21 21
22DOCS=( README.txt elaborate.conf ) 22DOCS=( README.txt elaborate.conf )
23PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
24 23
25src_prepare() { 24src_prepare() {
26 # Fix paths 25 epatch \
27 sed -i -e "s;/usr/share/sounds:/usr/local/share/sounds;/usr/share/tcpsound;g"\ 26 "${FILESDIR}"/${P}-makefile.patch \
28 "${S}"/src/tcpsound.c "${S}"/elaborate.conf || die 'sed failed' 27 "${FILESDIR}"/${P}-misc.patch
29
30 base_src_prepare
31} 28}
32 29
33src_compile() { 30src_compile() {
34 emake CC="$(tc-getCC)" 31 emake CC="$(tc-getCC)"
35} 32}

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

  ViewVC Help
Powered by ViewVC 1.1.20