/[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.2 - (hide annotations) (download)
Tue Mar 31 19:39:12 2015 UTC (5 years, 3 months ago) by ulm
Branch: MAIN
Changes since 1.1: +2 -2 lines
Update dependency after package move of eselect modules to app-eselect.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)

1 jlec 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ulm 1.2 # $Header: /var/cvsroot/gentoo-x86/media-sound/timidity-freepats/timidity-freepats-20060219-r1.ebuild,v 1.1 2015/03/05 08:21:06 jlec 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     KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
16     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