public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Terje Kvernes <terjekv@math.uio.no>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] UAE (amiga emulator) ebuild.
Date: 07 Jul 2002 02:42:22 +0200	[thread overview]
Message-ID: <wxx7kk8mkr5.fsf@nommo.uio.no> (raw)
In-Reply-To: <wxxlm8v9ig4.fsf@nommo.uio.no>

  I'd be very happy if a few people would look at this before I submit
  it and see if there are any obvious errors.  it would be nice if a
  few people tested this before I submitted it.  ;-)

x200 root # cat /usr/portage/app-emulation/uae/uae-0.8.21.ebuild
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49 sandymac Exp

DESCRIPTION="An amiga emulator"

HOMEPAGE="http://www.freiburg.linux.de/~uae/"
LICENSE="GPL"

if [ `use X` ];
        then
              DEPEND="virtual/x11
                      gtk? x11-libs/gtk+
                      media-libs/libsdl"
    else
            if [ `use svgalib` ];
              then
                    DEPEND="sys-libs/ncurses
                                        media-libs/svgalib"

                  else
             DEPEND="sys-libs/ncurses";
        fi
fi

SRC_URI="ftp://ftp.freiburg.linux.de/pub/uae/sources/develop/${P}.tar.gz"

S=${WORKDIR}/${P}

src_compile() {

        myopt="";

        if [ `use X` ];
           then
                  if [ `use dga` ];
                        then myopt="--enable-dga";
                  fi
                  myopt="--with-x $myopt --with-sdl --with-sdl-sound --with-sdl-gfx";
                else
                  if [ `use svgalib` ];
                    then
                                myopt="--with-svgalib --without-sdl --without-x";
                    else
                                myopt="--with-asciiart --without-sdl --without-svgalib --without-x";
                  fi
        fi

        ./configure \
                --host=${CHOST} \
                --prefix=/usr \
                $myopt || die "./configure failed"

        emake || die
}

src_install () {
        dobin uae readdisk
        dodoc docs/*
        dodoc docs/unix/*
}


-- 
Terje


  reply	other threads:[~2002-07-07  0:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-29 16:09 [gentoo-dev] UAE (amiga emulator) ebuild Terje Kvernes
2002-07-01 17:07 ` Per Wigren
     [not found] ` <200207011906.15997.wigren@home.se>
2002-07-01 22:44   ` Terje Kvernes
2002-07-07  0:42     ` Terje Kvernes [this message]
     [not found]       ` <200207071917.57700.wigren@home.se>
2002-07-07 21:42         ` Terje Kvernes
2002-07-07 21:52           ` Per Wigren
2002-07-07 22:15             ` Terje Kvernes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wxx7kk8mkr5.fsf@nommo.uio.no \
    --to=terjekv@math.uio.no \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox