From: "Matthew Walker" <mwalker@kydance.net>
To: <gentoo-dev@gentoo.org>
Subject: [gentoo-dev] Ebuild Help...
Date: Thu, 13 Jun 2002 22:02:50 -0600 (MDT) [thread overview]
Message-ID: <33782.216.190.203.135.1024027370.squirrel@adamantium.mthmarketing.com> (raw)
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
}
next reply other threads:[~2002-06-14 4:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-14 4:02 Matthew Walker [this message]
2002-06-14 6:42 ` [gentoo-dev] Ebuild Help Markus Brischke
-- strict thread matches above, loose matches on Subject: below --
2003-09-24 1:17 [gentoo-dev] ebuild help Brett
2003-09-24 2:27 ` Mike Frysinger
2003-09-24 4:21 ` Brian Jackson
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=33782.216.190.203.135.1024027370.squirrel@adamantium.mthmarketing.com \
--to=mwalker@kydance.net \
--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