Remove support for being a dual-nature -release and -svn ebuild. Misc cleanups.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14236 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled 2006-05-29 16:38:52 +00:00
parent 2bb9dc0c8f
commit 409fae2fce
2 changed files with 9 additions and 25 deletions

View File

@ -1,3 +1,8 @@
2006-05-29 Joshua Sled <jsled@asynchronous.org>
* packaging/gnucash-1.9.x.ebuild: Remove support for being a
dual-nature -release and -svn ebuild. Misc cleanups.
2006-05-29 Andreas Köhler <andi5.py@gmx.net>
* src/backend/file/io-gncxml-v2.c: Add wait_for_gzip to avoid

View File

@ -1,16 +1,12 @@
# Copyright 1999-2005 Gentoo Foundation
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# $Header$
# This script should work fine for the whole 1.9.x (and hopefully 2.0.x)
# releases with a simple rename. See
# http://bugs.gentoo.org/show_bug.cgi?id=122337 for discussion and history
# about this file.
# As well, it'll work for as an SVN ebuild; drop it into
# ${PORTAGE_OVERLAY}/app-office/gnucash-svn/gnucash-svn-20060306.ebuild.
# It'll install into /opt/gnucash-svn-20060306/.
# -- jsled-gentoo@asynchronous.org
inherit eutils gnome2
@ -19,11 +15,8 @@ DOC_VER="1.8.5"
DESCRIPTION="A personal finance manager (unstable version)."
HOMEPAGE="http://www.gnucash.org/"
SRC_URI=""
if [[ "${PN}" != *-svn ]]; then
SRC_URI="mirror://sourceforge/gnucash/${P}.tar.gz
mirror://sourceforge/gnucash/gnucash-docs-${DOC_VER}.tar.gz"
fi
SRC_URI="mirror://sourceforge/gnucash/${P}.tar.gz
mirror://sourceforge/gnucash/gnucash-docs-${DOC_VER}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
@ -68,18 +61,6 @@ pkg_setup() {
built_with_use goffice gnome || die "goffice must be built with gnome"
}
src_unpack() {
if [[ "${PN}" == *-svn ]]; then
svn co http://svn.gnucash.org/repo/gnucash/trunk ${P}
svn co http://svn.gnucash.org/repo/gnucash-docs/tags/${DOC_VER} gnucash-docs-${DOC_VER}
cd ${S}
./autogen.sh || die "Cannot autogen."
else
unpack ${A}
cd ${S}
fi
}
src_compile() {
local myconf_warnings="--enable-error-on-warning --enable-compile-warnings"
econf \
@ -102,7 +83,6 @@ src_compile() {
src_install() {
gnome2_src_install || die "gnome2_src_install failed"
dodoc AUTHORS ChangeLog* DOCUMENTERS HACKING INSTALL LICENSE NEWS TODO README* doc/README*
dodir /usr/bin
make_desktop_entry ${P} "GnuCash ${PV}" \
/usr/share/${PN}/pixmaps/appicon.png "Office;Finance"
@ -111,5 +91,4 @@ src_install() {
scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper \
install || die "doc install failed"
rm -rf ${D}/var/lib/scrollkeeper
}