From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI,RDNS_DYNAMIC autolearn=unavailable autolearn_force=no version=4.0.0 Received: from adamantium.mthmarketing.com (ip-216-190-203-135.mthmarketing.com [216.190.203.135]) by chiba.3jane.net (Postfix) with SMTP id 50F6BABD57 for ; Thu, 13 Jun 2002 23:03:09 -0500 (CDT) Received: (qmail 19931 invoked from network); 14 Jun 2002 04:02:50 -0000 Received: from unknown (HELO mydomain.com) (127.0.0.1) by localhost with SMTP; 14 Jun 2002 04:02:50 -0000 Received: from 216.190.203.135 (SquirrelMail authenticated user mwalker) by adamantium.mthmarketing.com with HTTP; Thu, 13 Jun 2002 22:02:50 -0600 (MDT) Message-ID: <33782.216.190.203.135.1024027370.squirrel@adamantium.mthmarketing.com> Date: Thu, 13 Jun 2002 22:02:50 -0600 (MDT) From: "Matthew Walker" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [gentoo-dev] Ebuild Help... Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 80ef426b-70c4-4a73-a225-a34f895245bf X-Archives-Hash: 96f989aa58492b49e89e35250f112da9 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 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 }