/[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.6 - (show annotations) (download)
Tue Apr 21 18:58:36 2015 UTC (5 years, 2 months ago) by pacho
Branch: MAIN
Changes since 1.5: +2 -2 lines
ppc stable wrt bug #545930

(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --include-arches="ppc", signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/timidity-freepats/timidity-freepats-20060219-r1.ebuild,v 1.5 2015/04/19 09:56:29 ago Exp $
4
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 DEPEND=">=app-eselect/eselect-timidity-20061203"
22
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