blob: 84249999254afa481261c421f5e17b0c6c3807e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mpg123-el/mpg123-el-1.51-r1.ebuild,v 1.1 2009/03/06 22:19:36 fauli Exp $
inherit elisp toolchain-funcs
DESCRIPTION="Emacs front-end to mpg123 audio player and OggVorbis audio player"
HOMEPAGE="http://www.gentei.org/~yuuji/software/mpg123el/"
SRC_URI="mirror://gentoo/${P}-r1.tar.bz2"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="vorbis"
DEPEND=""
RDEPEND="${DEPEND}
virtual/mpg123
media-sound/aumix
vorbis? ( media-sound/vorbis-tools )"
SITEFILE=50${PN}-gentoo.el
src_compile(){
sed -i -e "s/\(mainloop:\)/\1 ;/" tagput.c || die
$(tc-getCC) ${CFLAGS} -o tagput tagput.c || die
$(tc-getCC) ${CFLAGS} -o id3put id3put.c || die
elisp-compile *.el
}
src_install(){
dobin tagput || die
dobin id3put || die
elisp-install ${PN} *.el *.elc
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
dodoc README
}
|