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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Feb 12 14:18:10 2013 UTC (6 years, 11 months ago) by ago
Branch: MAIN
Changes since 1.2: +3 -3 lines
Stable for amd64, wrt bug #448306

(Portage version: 2.1.11.50/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
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 $
4
5 EAPI="4"
6
7 inherit base toolchain-funcs
8
9 DESCRIPTION="Play sounds in response to network traffic"
10 HOMEPAGE="http://www.ioplex.com/~miallen/tcpsound/"
11 SRC_URI="http://www.ioplex.com/~miallen/tcpsound/dl/${P}.tar.gz"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="amd64 ~x86"
16 IUSE=""
17
18 DEPEND="net-analyzer/tcpdump
19 media-libs/libsdl
20 dev-libs/libmba"
21 RDEPEND="${DEPEND}"
22
23 DOCS=( README.txt elaborate.conf )
24 PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
25
26 src_prepare() {
27 # Fix paths
28 sed -i -e "s;/usr/share/sounds:/usr/local/share/sounds;/usr/share/tcpsound;g"\
29 "${S}"/src/tcpsound.c "${S}"/elaborate.conf || die 'sed failed'
30
31 base_src_prepare
32 }
33
34 src_compile() {
35 emake CC="$(tc-getCC)"
36 }

  ViewVC Help
Powered by ViewVC 1.1.20