/[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.1 - (show annotations) (download)
Thu Oct 18 12:21:33 2012 UTC (7 years, 3 months ago) by pinkbyte
Branch: MAIN
Revision bump: EAPI 4, base eclass, drop unneeded sed

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

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

  ViewVC Help
Powered by ViewVC 1.1.20