Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Mon Aug 05, 2002 6:32 pm    Post subject: ebuild help Reply with quote

i am no programmer so what would be the easiest way to verify that a submitted program ebuild uses the correct 'gentoo' paths for installing?

is there a way to do this with out knowing how to program.

this is a simple and probably incorrect ebuild that i have used to install a newer version or rio500 on to my system.

Code:
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Merwan Kashouty <kashouty@dakotainet.net>
# $Header: $


DESCRIPTION="This is a cli set of tools for the rio500 .mp3 player"


HOMEPAGE="http://hadess.net"

SRC_URI="http://www.hadess.net/files/${P}.tar.gz"


LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"


DEPEND="=dev-libs/glib-2.0.4-r1*"




S=${WORKDIR}/${P}

src_compile() {

   ./configure \
      --host=${CHOST} \
      --prefix=/usr \
      --infodir=/usr/share/info \
      --mandir=/usr/share/man || die "./configure failed"
      emake || die
   }

src_install () {

   make DESTDIR=${D} install || die

       }


if i tried using the rio500-0.7.1 ebuild as a model it began to build but then gave a series of access denied errors and the install failed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum