/[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.9 - (hide annotations) (download)
Thu Jul 16 12:21:00 2015 UTC (4 years, 11 months ago) by klausman
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
Stable on alpha, bug 548842

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key CE5D54E8)

1 jlec 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 klausman 1.9 # $Header: /var/cvsroot/gentoo-x86/media-sound/timidity-freepats/timidity-freepats-20060219-r1.ebuild,v 1.8 2015/06/11 19:17:52 maekke 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 klausman 1.9 KEYWORDS="alpha 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