From: Mikael Hallendal <micke@codefactory.se>
To: gentoo-dev@cvs.gentoo.org
Subject: Re: [gentoo-dev] ebuild for xbatt
Date: Tue Jul 31 05:43:02 2001 [thread overview]
Message-ID: <874rrt8gxq.fsf@codefactory.se> (raw)
In-Reply-To: <0107310043190N.00612@localhost>
Dan Armak <danarmak@gentoo.org> writes:
This has been added in CVS. Had to do some changes though.
xmkmf included by some reason that the Makefile should create a
html-version of a non-existing man-page. I got around that by
src_compile () {
try xmkmf
try make xbatt
}
also in src_install () {
dodoc README* COPYRIGHT
}
Regards,
Mikael Hallendal
> On Sunday 22 July 2001 21:01, you wrote:
> > >This is incorrect. You need to get all files installed into ${D},
> > >the Portage temporary directory, rather than install to the root
> > >filesystem directly. Look at any of our other ebuilds in the
> > >Portage tree for examples of how to do this;
> > >
> > >basically, you study the Makefile and see if you can override
> > >DESTDIR or prefix to redirect the install somewhere else.
> > Allright, here's an updated ebuild for xbatt.
> >
> > Damon
> >
> > -- "UNIX was not designed to stop you from doing stupid things,
> >because that would also stop you from doing clever things." --Doug
> >Gwyn
> >
> >
> > # Copyright 2001 Gentoo Technologies, Inc. # Distributed under the
> >terms of the GNU General Public License, v2 or later # Author Damon
> >Conway <damon@3jane.net>
> >
> > A=${P}.tar.gz S=${WORKDIR}/${P} DESCRIPTION="Notebook battery
> >indicataor for X" SRC_URI="http://www.clave.gr.jp/~eto/xbatt/${A}"
> >HOMEPAGE=""
> >
> > DEPEND="virtual/x11"
> >
> > src_compile() { try xmkmf try make
> > }
> > src_install () { try make DESTDIR=${D} install
> > }
> >
> >
> > _______________________________________________ gentoo-dev mailing
> >list gentoo-dev@cvs.gentoo.org
> >http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
>
>
> Added to incoming.
> --
>
> Dan Armak
> Gentoo Linux Developer, Desktop Team
> Matan, Israel
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
--
Mikael Hallendal micke@codefactory.se
CodeFactory AB http://www.codefactory.se/
Office: +46 (0)8 587 583 05 Cell: +46 (0)709 718 918
next prev parent reply other threads:[~2001-07-31 11:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-21 17:32 [gentoo-dev] ebuild for xbatt Damon M. Conway
2001-07-21 17:50 ` Daniel Robbins
2001-07-22 12:01 ` Damon M. Conway
2001-07-30 15:43 ` Dan Armak
2001-07-31 5:43 ` Mikael Hallendal [this message]
2001-07-31 7:53 ` Dan Armak
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=874rrt8gxq.fsf@codefactory.se \
--to=micke@codefactory.se \
--cc=gentoo-dev@cvs.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