source: mac/mac-3.99.4.5-r1.ebuild @ 9

Last change on this file since 9 was 9, checked in by tobi, 9 years ago
File size: 1.1 KB
Line 
1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header:
4
5inherit eutils versionator
6
7MY_P="${PN}-$(get_version_component_range 1-2)"
8MY_P="${MY_P}-u$(get_version_component_range 3)"
9MY_P="${MY_P}-b$(get_version_component_range 4)"
10S="${WORKDIR}/${MY_P}"
11
12DESCRIPTION="unix port of Monkey's Audio"
13HOMEPAGE="http://sourceforge.net/projects/mac-port"
14#SRC_URI="mirror://sourceforge/mac-port/${MY_P}.tar.gz"
15SRC_URI="http://www.genoetigt.de/ape/${MY_P}.tar.gz"
16RESTRICT="nomirror"
17
18LICENSE="unknown"
19SLOT="0"
20KEYWORDS="~amd64 ~ppc ~x86"
21IUSE="backward-compatible"
22
23DEPEND="virtual/libc
24        x86? ( dev-lang/nasm )"
25
26src_compile() {
27# not necessary anymore since 3.99.4.5 ? all 'int' are now 'intptr_t'
28#       epatch ${FILESDIR}/mac-precision.patch || die
29#       epatch ${FILESDIR}/mac-pointercasting.patch || die
30
31        econf `use_enable backward-compatible backward` || die "configure failed"
32        emake || die "make failed"
33}
34
35src_install() {
36        make DESTDIR=${D} install || die "make install failed"
37        dodoc AUTHORS INSTALL NEWS README TODO COPYING
38        dohtml ${S}/src/License.htm     ${S}/src/Readme.htm
39}
Note: See TracBrowser for help on using the repository browser.