/[gentoo-x86]/media-sound/timidity-freepats/timidity-freepats-20060219-r1.ebuild
Gentoo

Contents of /media-sound/timidity-freepats/timidity-freepats-20060219-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sun Apr 12 06:20:21 2015 UTC (5 years, 3 months ago) by jer
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable for HPPA (bug #545930).

(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --ignore-arches, signed Manifest commit with key A792A613)

1 jlec 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jer 1.4 # $Header: /var/cvsroot/gentoo-x86/media-sound/timidity-freepats/timidity-freepats-20060219-r1.ebuild,v 1.3 2015/04/08 12:14:26 ago Exp $
4 jlec 1.1
5     EAPI=5
6    
7     MY_PN=${PN/timidity-/}
8    
9     DESCRIPTION="Free and open set of instrument patches"
10     HOMEPAGE="http://freepats.opensrc.org/"
11     SRC_URI="${HOMEPAGE}/${MY_PN}-${PV}.tar.bz2"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 jer 1.4 KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
16 jlec 1.1 IUSE=""
17    
18     RESTRICT="binchecks strip"
19    
20     RDEPEND=""
21 ulm 1.2 DEPEND=">=app-eselect/eselect-timidity-20061203"
22 jlec 1.1
23     S=${WORKDIR}/${MY_PN}
24    
25     src_prepare() {
26     echo "dir ${EPREFIX}/usr/share/timidity/${MY_PN}" > timidity.cfg || die
27     cat freepats.cfg >> timidity.cfg || due
28     }
29    
30     src_install() {
31     insinto /usr/share/timidity/${MY_PN}
32     doins -r timidity.cfg Drum_000 Tone_000
33     dodoc README
34     }
35    
36     pkg_postinst() {
37     eselect timidity update --global --if-unset
38     }

  ViewVC Help
Powered by ViewVC 1.1.20