/[gentoo-x86]/media-sound/wavplay/wavplay-1.4.ebuild
Gentoo

Contents of /media-sound/wavplay/wavplay-1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations) (download)
Sat Apr 10 02:57:12 2010 UTC (4 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +4 -4 lines
update HOMEPAGE
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/wavplay/wavplay-1.4.ebuild,v 1.15 2006/09/12 15:17:35 tcort Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="A command line player/recorder for wav files"
8 HOMEPAGE="http://sourceforge.net/projects/wavplay/"
9 SRC_URI="http://ibiblio.org/pub/linux/apps/sound/players/${P}.tar.gz
10 mirror://gentoo/${P}.patch"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="-amd64 -sparc x86"
15 IUSE=""
16
17 src_unpack() {
18 unpack ${P}.tar.gz
19 cd "${S}"
20 epatch "${DISTDIR}"/${P}.patch
21 epatch "${FILESDIR}"/${P}-gcc34.patch
22 sed -i -e 's:ln :ln -s :' Makefile
23 }
24
25 src_compile() {
26 emake CC="$(tc-getCC)" CP="$(tc-getCXX)" \
27 CFLAGS="${CFLAGS}" CCFLAGS="${CXXFLAGS}" LDOPTS="${LDFLAGS}" no_x || die
28 }
29
30 src_install() {
31 dodir /usr/bin
32 emake INSTDIR="${D}/usr/bin" install_no_x || die
33 # the motif frontend crashes and there are nicer player
34 # for X anyway
35 # no suid root install for old packages which use strcpy
36 dodoc BUGS README
37 doman *.1
38 }

  ViewVC Help
Powered by ViewVC 1.1.20