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 23:42:10 +0200	[thread overview]
Message-ID: <wxxlm8ni5al.fsf@nommo.uio.no> (raw)
In-Reply-To: <200207071917.57700.wigren@home.se>

Per Wigren <wigren@home.se> writes:

> I say that you go always go for --enable-{dga,vidmode} since it is 
> runtime-selectable anyway..

  hm.  okay.
 
> > myopt="--with-x $myopt --with-sdl --with-sdl-sound
> > --with-sdl-gfx"; else
> 
> Dont forget:
> use gtk && myopt="$myopt --enable-ui"
> use gtk || myopt="$myopt --disable-ui"

  ok, added.
 
> > ./configure \
> >       --host=${CHOST} \
> >       --prefix=/usr \
> 
> please add
>   --enable-threads --enable-scsi-device --enable-file-sound
> These are nice features that doesn't add dependancies...
 
  done!  thanks!

> > src_install () {
> >        dobin uae readdisk
> >        dodoc docs/*
> >        dodoc docs/unix/*
> # The last line will overwrite docs/README.. It will be included anyway since 
> dodoc is recursive if I don't remeber wrong... ?

  it didn't seem to be recursive around here.  :/

  I'll leave docs/unix out for now.

> also add:
> into /usr/share/uae/amiga-tools
> doins amiga/{*hack,trans*,uae*}
> # These are tools for AmigaOS that are *very* useful in UAE!

  check!
 
> Anyway, I'm looking forward to this one! Thanks!

  you're welcome.  how does this look to you?

# 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+";
   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
	      myopt="--with-x --enable-dga --enable-vidmode\
                     --with-sdl --with-sdl-sound --with-sdl-gfx";

               use gtk && myopt="$myopt --enable-ui";
               use gtk || myopt="$myopt --disable-ui";
	   else
	       if [ `use svgalib` ];
		  then
		     myopt="--with-svgalib";
		  else
		     myopt="--with-asciiart";
		  fi
	fi

	./configure \
		--host=${CHOST} \
		--prefix=/usr \
	        --enable-threads \
                --enable-scsi-device \
                --enable-file-sound \
		$myopt || die "./configure failed"
	
	emake || die
}

src_install () {
	dobin uae readdisk
	dodoc docs/*

        insinto /usr/share/uae/amiga-tools
        doins amiga/{*hack,trans*,uae*}

}

-- 
Terje


  parent reply	other threads:[~2002-07-07 21: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
     [not found]       ` <200207071917.57700.wigren@home.se>
2002-07-07 21:42         ` Terje Kvernes [this message]
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=wxxlm8ni5al.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