Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178885 - elawoffice (new ebuild)
Summary: elawoffice (new ebuild)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.elawoffice.it/home.html
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-05-17 14:46 UTC by Adamz
Modified: 2016-01-23 11:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adamz 2007-05-17 14:46:13 UTC
I need an ebuild for an application (elawoffice).
I tried to create it:

-------------------------
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Gestione studio legale"
HOMEPAGE="http://www.elawoffice.it/home.html"
#SRC_URI="mirror://sourceforge/ctags/${P}.tar.gz"
#ESEGUIBILE SRC_URI="http://sourceforge.net/project/downloading.php?group_id=115778&use_mirror=ovh&filename=eLawOffice_FULL_Mysql_ITA_1_0_Rc3.tar.gz&24372417"
SRC_URI="http://sourceforge.net/project/downloading.php?group_id=115778&use_mirror=ovh&filename=eLawOfficeSrc_1_0_Rc3.zip&14863395"
# link "http://ovh.dl.sourceforge.net/sourceforge/elawmanager/eLawOfficeSrc_1_0_Rc3.zip"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=">=dev-java/sun-jre-bin-1.4.2
    >=dev-db/mysql-4.1<5.0.0"
RDEPEND=""


src_compile() {
    econf || die "econf failed"
    emake || die "emake failed"
}

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

    dodoc FAQ NEWS README
    dohtml EXTENDING.html elawoffice.html
}
----------------------------------

I need some help.
thanks a lot.
Adamz

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-17 15:27:31 UTC
- src_compile() is redundant 
- DEPEND is illegal...( >=dev-db/mysql-4.1<5.0.0)
- RDEPEND is definitely nor correct. 

(Also please use attachments next time, instead of pasting ebuilds inline.)
Comment 2 Adamz 2007-05-18 08:33:56 UTC
> - src_compile() is redundant 
> - DEPEND is illegal...( >=dev-db/mysql-4.1<5.0.0)
> - RDEPEND is definitely nor correct. 
> (Also please use attachments next time, instead of pasting ebuilds inline.)

- first error: i haven't understood the correction;
- second error: how can i do a depend so: pkg > version.x and pkg < version.y?
- third error: OK! I'll comment that line.(In reply to comment #1)
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-01-23 11:58:50 UTC
This package appears to require mysql-4 which has since been removed from the tree and upstream is dead.