View previous topic :: View next topic |
Author |
Message |
Emperor n00b
Joined: 09 Jul 2002 Posts: 54 Location: Enschede, The Netherlands
|
Posted: Sat Aug 24, 2002 2:15 am Post subject: Made my very first ebuild and I want to share it :) |
|
|
I just make my first working ebuild. It installs OOodi, a small little gui util to install dictionaries for openoffice.org. (details: http://ooodi.sourceforge.net/ )
i have 3 questions:
1:
I would like to make this available in the portagetree for everyone. What must i do to get that done?
2:
I am not quite sure where this should be in the portage tree. My first thought was /usr/portage/app-office/openoffice . But i noticed the ebuild would not work if i put it there.
So now i am testing it (at home) on /usr/portage/app-text/OOodi because other spelling/dict tools are there as well. Sounds OK?
3:
The package does not realy need openoffice.org to compile. But without it, its kinda useless . So, should I add openoffice as a dependency? I havent now because its not needed to compile, according to the readme.
For the ones that want it now:
Code: | # Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# NOTE: This is my first ebuild, se be kind :)
DESCRIPTION="OpenOffice.org Dictionary Installer is a easy to use tool to install language dictionaries for OpenOffice.org"
HOMEPAGE="http://ooodi.sourceforge.net/"
SRC_URI="http://unc.dl.sourceforge.net/sourceforge/ooodi/OOodi-0.55.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="x86"
DEPEND="virtual/glibc
gtk? ( >=gtk+-1.2.10-r8 )
>=net-ftp/curl-7.9.7"
S="${WORKDIR}/${P}"
src_unpack() {
unpack ${P}.tar.gz
}
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
}
|
As you can see, a simple fill-in procedure _________________ What is this "signature" thing you are talking about? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Aug 24, 2002 2:53 am Post subject: Re: Made my very first ebuild and I want to share it :) |
|
|
Emperor wrote: | I just make my first working ebuild. |
Congratulations and thanks.
Quote: | I would like to make this available in the portagetree for everyone. What must i do to get that done? |
Follow the directions in http://gentoo.org/doc/en/ebuild-submit.xml. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Emperor n00b
Joined: 09 Jul 2002 Posts: 54 Location: Enschede, The Netherlands
|
Posted: Sat Aug 24, 2002 3:32 am Post subject: |
|
|
thx
I have been looking for a link like that, but i must be stirr blind or something cuz only now i see it :p
Maybe it would be nice to mention this link in the end of http://www.gentoo.org/doc/gentoo-howto.html . _________________ What is this "signature" thing you are talking about? |
|
Back to top |
|
|
|