/[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.2 - (hide annotations) (download)
Sun Nov 18 06:48:19 2012 UTC (7 years, 2 months ago) by pinkbyte
Branch: MAIN
Changes since 1.1: +3 -2 lines
Add ~amd64 keyword, define RDEPEND explicitly

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

1 pinkbyte 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 pinkbyte 1.2 # $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 $
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 pinkbyte 1.2 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