summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2007-06-07 09:06:36 +0000
committerChristian Parpart <trapni@gentoo.org>2007-06-07 09:06:36 +0000
commit7d16828744ceb681fb0b42841c2710eb3ea4453a (patch)
tree28b0040e1abde4f57823fe0feaafb11e500a63ff /media-libs/libcaptury/libcaptury-0.1.0.ebuild
parentfixes install on non-multilib hosts (diff)
downloadoverlay-7d16828744ceb681fb0b42841c2710eb3ea4453a.tar.gz
overlay-7d16828744ceb681fb0b42841c2710eb3ea4453a.tar.bz2
overlay-7d16828744ceb681fb0b42841c2710eb3ea4453a.zip
* cleaned out old versions
* fix non-multilib build (x86) svn path=/overlay/; revision=56
Diffstat (limited to 'media-libs/libcaptury/libcaptury-0.1.0.ebuild')
-rw-r--r--media-libs/libcaptury/libcaptury-0.1.0.ebuild89
1 files changed, 0 insertions, 89 deletions
diff --git a/media-libs/libcaptury/libcaptury-0.1.0.ebuild b/media-libs/libcaptury/libcaptury-0.1.0.ebuild
deleted file mode 100644
index 79c0225..0000000
--- a/media-libs/libcaptury/libcaptury-0.1.0.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit multilib flag-o-matic
-
-DESCRIPTION="Captury Framework Library"
-HOMEPAGE="http://battousai.mylair.de/projects/captury/"
-SRC_URI="http://battousai.mylair.de/dist/captury/captury-${PV}.tar.bz2"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-
-RDEPEND="media-libs/xvid
- x11-libs/libX11
- virtual/opengl
- amd64? (
- app-emulation/emul-linux-x86-xlibs
- app-emulation/emul-linux-x86-medialibs
- )" # enforce old emul pkgs. for testing only!
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-RESTRICT="multilib-pkg-force"
-
-S="${WORKDIR}/captury-${PV}/${PN}"
-
-setup_env() {
- LD_LIBRARY_PATH=
- LDFLAGS=
-
- # keep backwards compatibility as long as I *have* to.
- if use amd64 && [[ ${ABI} = "x86" ]]; then
- if has_version '<app-emulation/emul-linux-x86-xlibs-7.0-r8'; then
- LDFLAGS="-L/emul/linux/x86/usr/lib"
- LD_LIBRARY_PATH="/emul/linux/x86/usr/lib"
- fi
- fi
-
- export LDFLAGS
- export LD_LIBRARY_PATH
-}
-
-src_compile() {
- if [[ -z ${OABI} ]] && has_multilib_profile; then
- use debug && append-flags -O0 -g3
- use debug || append-flags -DNDEBUG=1
-
- einfo "Building multilib ${PN} for ABIs: $(get_install_abis)"
- OABI=${ABI}
- for ABI in $(get_install_abis); do
- export ABI=${ABI}
- src_compile
- done
- ABI=${OABI}
- return
- fi
-
- cd ${S}
-
- if [[ ! -f configure ]]; then
- ./autogen.sh || die "autogen.sh failed"
- fi
-
- setup_env
-
- mkdir abi-${ABI}
- cd abi-${ABI}
-
- ../configure \
- --prefix="/usr" \
- --host="$(get_abi_CHOST ${ABI})" \
- --libdir="/usr/$(get_libdir)" \
- || die "./configure for ABI ${ABI} failed"
-
- emake || die "make for ABI ${ABI} failed"
-}
-
-src_install() {
- for ABI in $(get_install_abis); do
- make -C abi-${ABI} install DESTDIR="${D}" || die "make install for ABI ${ABI} failed."
- done
-
- dodoc AUTHORS ChangeLog* NEWS README* TODO
-}
-
-# vim:ai:noet:ts=4:nowrap