mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-04-12 02:43:32 +02:00
initial import
This commit is contained in:
36
media-libs/mac/mac-3.99.4.4-r1.ebuild
Normal file
36
media-libs/mac/mac-3.99.4.4-r1.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user