1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2025-12-28 01:12:33 +01:00
Files
gryf-overlay/media-libs/mac/mac-3.99.4.4-r1.ebuild
2010-02-09 21:25:29 +01:00

37 lines
991 B
Bash

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
inherit eutils versionator
MY_P="${PN}-$(get_version_component_range 1-2)"
MY_P="${MY_P}-u$(get_version_component_range 3)"
MY_P="${MY_P}-b$(get_version_component_range 4)"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="unix port of Monkey's Audio"
HOMEPAGE="http://sourceforge.net/projects/mac-port"
SRC_URI="mirror://sourceforge/mac-port/${MY_P}.tar.gz"
LICENSE="unknown"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="backward-compatible"
DEPEND="virtual/libc
x86? ( dev-lang/nasm )"
src_compile() {
epatch ${FILESDIR}/mac-precision.patch || die
epatch ${FILESDIR}/mac-pointercasting.patch || die
econf `use_enable backward-compatible backward` || die "configure failed"
emake || die "make failed"
}
src_install() {
make DESTDIR=${D} install || die "make install failed"
dodoc AUTHORS INSTALL NEWS README TODO COPYING
dohtml ${S}/src/License.htm ${S}/src/Readme.htm
}