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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (hide annotations) (download)
Mon Jun 15 18:08:29 2015 UTC (4 years, 9 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
FILE REMOVED
Drop old

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

1 ulm 1.14 # Copyright 1999-2015 Gentoo Foundation
2 flameeyes 1.1 # Distributed under the terms of the GNU General Public License v2
3 jlec 1.15 # $Header: /var/cvsroot/gentoo-x86/media-sound/timidity-freepats/timidity-freepats-20060219.ebuild,v 1.14 2015/03/31 19:39:12 ulm Exp $
4 flameeyes 1.1
5 ssuominen 1.3 EAPI=2
6 flameeyes 1.1
7 ssuominen 1.3 MY_PN=${PN/timidity-/}
8 flameeyes 1.1
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 xarthisius 1.13 KEYWORDS="amd64 arm hppa ppc ppc64 x86 ~x86-fbsd"
16 ssuominen 1.3 IUSE=""
17 flameeyes 1.1
18     RESTRICT="binchecks strip"
19    
20 ssuominen 1.3 RDEPEND=""
21 ulm 1.14 DEPEND=">=app-eselect/eselect-timidity-20061203"
22 flameeyes 1.1
23 ssuominen 1.3 S=${WORKDIR}/${MY_PN}
24    
25     src_prepare() {
26     echo "dir /usr/share/timidity/${MY_PN}" > timidity.cfg
27     cat freepats.cfg >> timidity.cfg
28     }
29 flameeyes 1.1
30     src_install() {
31     insinto /usr/share/timidity/${MY_PN}
32 ssuominen 1.3 doins -r timidity.cfg Drum_000 Tone_000
33 flameeyes 1.1 dodoc README
34     }
35    
36     pkg_postinst() {
37     eselect timidity update --global --if-unset
38     }

  ViewVC Help
Powered by ViewVC 1.1.20