diff options
Diffstat (limited to 'app-emacs/mpg123-el/mpg123-el-1.61.ebuild')
-rw-r--r-- | app-emacs/mpg123-el/mpg123-el-1.61.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/app-emacs/mpg123-el/mpg123-el-1.61.ebuild b/app-emacs/mpg123-el/mpg123-el-1.61.ebuild new file mode 100644 index 000000000000..eeba80891947 --- /dev/null +++ b/app-emacs/mpg123-el/mpg123-el-1.61.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" + +LICENSE="mpg123-el" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="media-sound/mpg123 + media-sound/alsa-utils" + +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o tagput tagput.c || die + $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o id3put id3put.c || die + elisp-compile *.el +} + +src_install() { + dobin tagput id3put + elisp-install ${PN} *.el *.elc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" +} |