/[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.4 - (hide annotations) (download)
Tue Feb 12 14:20:02 2013 UTC (6 years, 11 months ago) by ago
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable for x86, wrt bug #448306

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

1 ago 1.3 # Copyright 1999-2013 Gentoo Foundation
2 pinkbyte 1.1 # Distributed under the terms of the GNU General Public License v2
3 ago 1.4 # $Header: /var/cvsroot/gentoo-x86/net-misc/tcpsound/tcpsound-0.3.1-r1.ebuild,v 1.3 2013/02/12 14:18:10 ago Exp $
4 pinkbyte 1.1
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 ago 1.4 KEYWORDS="amd64 x86"
16 pinkbyte 1.1 IUSE=""
17    
18     DEPEND="net-analyzer/tcpdump
19     media-libs/libsdl
20     dev-libs/libmba"
21 pinkbyte 1.2 RDEPEND="${DEPEND}"
22 pinkbyte 1.1
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