/[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.3 - (hide annotations) (download)
Wed Apr 8 12:14:26 2015 UTC (5 years, 2 months ago) by ago
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for amd64, wrt bug #545930

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key 7194459F)

1 jlec 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.3 # $Header: /var/cvsroot/gentoo-x86/media-sound/timidity-freepats/timidity-freepats-20060219-r1.ebuild,v 1.2 2015/03/31 19:39:12 ulm 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 ago 1.3 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