|
|
# Copyright 1999-2004 Gentoo Foundation | # Copyright 1999-2004 Gentoo Foundation |
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/mixxx/mixxx-1.3.2.ebuild,v 1.2 2004/10/08 07:18:21 eradicator Exp $ |
# $Header: /usr/local/portage/media-sound/mixxx/RCS/mixxx-1.4.ebuild,v 1.2 2004/10/12 13:47:50 root Exp root $ |
| |
IUSE="jack" |
IUSE="alsa jack" |
| |
inherit eutils | inherit eutils |
| |
|
|
} | } |
| |
src_compile() { | src_compile() { |
./configure `use_enable jack Jack` || die "configure failed" |
./configure `use_enable alsa Alsa` `use_enable jack Jack` || die "configure failed" |
| |
sed -i -e "s/CFLAGS *= -pipe -w -O2/CFLAGS = ${CFLAGS} -w/" \ | sed -i -e "s/CFLAGS *= -pipe -w -O2/CFLAGS = ${CFLAGS} -w/" \ |
-e "s/CXXFLAGS *= -pipe -w -O2/CXXFLAGS = ${CXXFLAGS} -w/" Makefile | -e "s/CXXFLAGS *= -pipe -w -O2/CXXFLAGS = ${CXXFLAGS} -w/" Makefile |
|
|
make COPY_FILE="cp -fpr" \ | make COPY_FILE="cp -fpr" \ |
INSTALL_ROOT="${D}" install || die "make install failed" | INSTALL_ROOT="${D}" install || die "make install failed" |
| |
dodoc ../README ../Mixxx-Manual.pdf |
dodoc ../README ../README.ALSA ../Mixxx-Manual.pdf |
} | } |