/[gentoo-x86]/media-sound/aylet/aylet-0.5.ebuild
Gentoo

Diff of /media-sound/aylet/aylet-0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-sound/aylet/aylet-0.5.ebuild,v 1.10 2014/08/10 21:04:12 slyfox Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-sound/aylet/aylet-0.5.ebuild,v 1.11 2014/10/31 11:37:20 jer Exp $
4 4
5EAPI=2 5EAPI=5
6inherit eutils toolchain-funcs 6inherit eutils toolchain-funcs
7 7
8DESCRIPTION="Aylet plays music files in the .ay format" 8DESCRIPTION="Aylet plays music files in the .ay format"
9HOMEPAGE="http://rus.members.beeb.net/aylet.html" 9HOMEPAGE="http://rus.members.beeb.net/aylet.html"
10SRC_URI="http://ftp.ibiblio.org/pub/Linux/apps/sound/players/${P}.tar.gz" 10SRC_URI="http://ftp.ibiblio.org/pub/Linux/apps/sound/players/${P}.tar.gz"
22src_prepare() { 22src_prepare() {
23 epatch "${FILESDIR}"/${P}-gtk.patch 23 epatch "${FILESDIR}"/${P}-gtk.patch
24} 24}
25 25
26src_compile() { 26src_compile() {
27 tc-export CC 27 tc-export CC PKG_CONFIG
28 28
29 emake ${PN} || die 29 emake ${PN} CURSES_LIB="$( ${PKG_CONFIG} --libs ncurses)"
30 use gtk && { emake gtk2 || die; } 30 use gtk && emake gtk2
31} 31}
32 32
33src_install() { 33src_install() {
34 dobin ${PN} || die 34 dobin ${PN}
35 use gtk && { dobin x${PN} || die; } 35 use gtk && dobin x${PN}
36 36
37 doman ${PN}.1 37 doman ${PN}.1
38 use gtk && echo '.so aylet.1' > "${D}"/usr/share/man/man1/xaylet.1 38 use gtk && echo '.so aylet.1' > "${D}"/usr/share/man/man1/xaylet.1
39 39
40 dodoc ChangeLog NEWS README TODO 40 dodoc ChangeLog NEWS README TODO

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20