public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] ebuild help
@ 2003-09-24  1:17 Brett
  2003-09-24  2:27 ` Mike Frysinger
  2003-09-24  4:21 ` Brian Jackson
  0 siblings, 2 replies; 5+ messages in thread
From: Brett @ 2003-09-24  1:17 UTC (permalink / raw
  To: gentoo-dev

Greetings,
I have a few Linux programs which I would like to use, but which are not
in portage. I have attempted to make some ebuild scripts (via the ebuild
HOWTO) for these  programs, but I can't get them to work.

The error I receive is:
{
# emerge /usr/local/portage/app-office/bhpos-base/app-office/bhpos-base
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy
"/usr/local/portage/app-office/bhpos-base/app-office/bhpos-base".
                                                                                
!!! Error calculating dependencies. Please correct.

}//end error

I have tried everything I can think of, including commenting out all the
required dependencies.

I have also set:
PORTDIR_OVERLAY="/usr/local/portage"

Any help is appreciated :-)
Brett

The ebuild script:
{
cat bhpos-base-1.0.1-1_rc1.ebuild
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
 
DESCRIPTION="Bananahead Point-of-sale software"
HOMEPAGE="http://www.bananapos.com/"
SRC_URI="http://bananapos.com/download/bhpos/stable/base/${P}.tar.gz"
LICENSE="GPL2"
SLOT="0"
KEYWORDS="~x86"
 
IUSE="X gnome"
DEPEND=">=autoconf-2.54
        >=automake-1.73
        >=libtool-1.4.3-r1
        >=make-3.8.0
        >=gettext-0.11.5
        >=intltools-0.23
        >=pkgconfig-0.15.0"
 
RDEPEND=""
S=${WORKDIR}/${P}
 
src_unpack() {
        unpack ${A} || die
}
 
src_compile() {
                ./configure \
                --host=${CHOST} \
                --prefix=/usr \
                --infodir=/usr/share/info \
                --mandir=/usr/share/man || die "./configure failed"
}
 
src_install() {
        make \
                prefix=${D}/usr \
                mandir=${D}/usr/share/man \
                infodir=${D}/usr/share/info \
                install || die
}

}//end ebuild script


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [gentoo-dev] Ebuild Help...
@ 2002-06-14  4:02 Matthew Walker
  2002-06-14  6:42 ` Markus Brischke
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Walker @ 2002-06-14  4:02 UTC (permalink / raw
  To: gentoo-dev

I'm writing my first ebuild, and I'm having a hard time figuring out how
to get it to install all the files properly once they've been created in
the image directory. I've included my ebuild file. Any help would be
greatly appreciated.
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Matthew Walker <mwalker@kydance.net>

S=${WORKDIR}/${PN}-${PV}
DESCRIPTION="Xscorch is a clone of the classic DOS game, 'Scorched Earth'."
SRC_URI="http://chaos2.org/xscorch/${PN}-${PV}.tar.gz
         http://utoxin.kydance.net/xscorch/${PN}-${PV}.tar.gz"

HOMEPAGE="http://chaos2.org/xscorch/"
SLOT="0"
LICENSE="GPL"
DEPEND=">=x11-libs/gtk-1.2"

src_unpack() {
    unpack ${PN}-${PV}.tar.gz
    cd ${S}
}

src_compile() {
    ./configure --prefix=/usr --bindir=/usr/bin --datadir=/usr/share
    --mandir=/usr/share/man --enable-opt --host=${CHOST} || die    emake || die
}

src_install () {
    make DESTDIR=${D} install || die

    dodir /usr/bin
    dodir /usr/share/doc/${PN}-${PV}
    dodir /usr/share/${PN}
    dodir /usr/share/${PN}/images
    dodir /usr/share/${PN}/sounds

    dobin ${D}/usr/bin/xscorch
    dobin ${D}/usr/bin/xscorch-server

    insinto /usr/share/man/man6
    doins ${D}/usr/share/man/man6/${PN}.6.gz

    dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
}





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-09-24  4:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-24  1:17 [gentoo-dev] ebuild help Brett
2003-09-24  2:27 ` Mike Frysinger
2003-09-24  4:21 ` Brian Jackson
  -- strict thread matches above, loose matches on Subject: below --
2002-06-14  4:02 [gentoo-dev] Ebuild Help Matthew Walker
2002-06-14  6:42 ` Markus Brischke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox