diff options
author | 2005-01-09 15:08:06 +0000 | |
---|---|---|
committer | 2005-01-09 15:08:06 +0000 | |
commit | bcc3470e89d6001163f89010ae25717f89bb04fe (patch) | |
tree | 39859feb10eae49d9c46999ef462175bd663508e /games-util | |
parent | Marking version 20041030 stable on x86 (Manifest recommit) (diff) | |
download | gentoo-2-bcc3470e89d6001163f89010ae25717f89bb04fe.tar.gz gentoo-2-bcc3470e89d6001163f89010ae25717f89bb04fe.tar.bz2 gentoo-2-bcc3470e89d6001163f89010ae25717f89bb04fe.zip |
Added amd64 patch and closing bug #77091.
Diffstat (limited to 'games-util')
5 files changed, 69 insertions, 4 deletions
diff --git a/games-util/loki_setupdb/ChangeLog b/games-util/loki_setupdb/ChangeLog index 7c8dfe854de5..5b3bcb6c4c96 100644 --- a/games-util/loki_setupdb/ChangeLog +++ b/games-util/loki_setupdb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-util/loki_setupdb -# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/loki_setupdb/ChangeLog,v 1.2 2004/10/17 09:53:02 dholm Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-util/loki_setupdb/ChangeLog,v 1.3 2005/01/09 15:08:06 wolf31o2 Exp $ + +*loki_setupdb-20050109 (09 Jan 2005) + + 09 Jan 2005; Chris Gianelloni <wolf31o2@gentoo.org> + +files/loki_setupdb-20050109-amd64.patch, +loki_setupdb-20050109.ebuild: + Added amd64 patch and closing bug #77091. 17 Oct 2004; David Holm <dholm@gentoo.org> loki_setupdb-20040916.ebuild: Added to ~ppc. diff --git a/games-util/loki_setupdb/files/digest-loki_setupdb-20050109 b/games-util/loki_setupdb/files/digest-loki_setupdb-20050109 new file mode 100644 index 000000000000..4fa51eb950ff --- /dev/null +++ b/games-util/loki_setupdb/files/digest-loki_setupdb-20050109 @@ -0,0 +1 @@ +MD5 ef9aea18d3c002de7a0a465a5d5ba690 loki_setupdb-20050109.tar.bz2 59048 diff --git a/games-util/loki_setupdb/files/loki_setupdb-20050109-amd64.patch b/games-util/loki_setupdb/files/loki_setupdb-20050109-amd64.patch new file mode 100644 index 000000000000..4e87e016cf90 --- /dev/null +++ b/games-util/loki_setupdb/files/loki_setupdb-20050109-amd64.patch @@ -0,0 +1,12 @@ +diff -urN loki_setupdb/configure.in loki_setupdb-20050109/configure.in +--- loki_setupdb/configure.in 2005-01-09 09:42:48.913110168 -0500 ++++ loki_setupdb-20050109/configure.in 2005-01-09 09:54:56.229541264 -0500 +@@ -101,6 +101,8 @@ + ARCH=ppc ;; + *i?86*) + ARCH=x86 ;; ++*x86_64*) ++ ARCH=amd64 ;; + *) + ARCH=`uname -p 2> /dev/null || uname -m` + if test "$ARCH" = powerpc; then diff --git a/games-util/loki_setupdb/loki_setupdb-20040916.ebuild b/games-util/loki_setupdb/loki_setupdb-20040916.ebuild index 1ca169e99518..41ae212a4c6a 100644 --- a/games-util/loki_setupdb/loki_setupdb-20040916.ebuild +++ b/games-util/loki_setupdb/loki_setupdb-20040916.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/loki_setupdb/loki_setupdb-20040916.ebuild,v 1.2 2004/10/17 09:53:02 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-util/loki_setupdb/loki_setupdb-20040916.ebuild,v 1.3 2005/01/09 15:08:06 wolf31o2 Exp $ inherit eutils diff --git a/games-util/loki_setupdb/loki_setupdb-20050109.ebuild b/games-util/loki_setupdb/loki_setupdb-20050109.ebuild new file mode 100644 index 000000000000..92d6a84f7593 --- /dev/null +++ b/games-util/loki_setupdb/loki_setupdb-20050109.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-util/loki_setupdb/loki_setupdb-20050109.ebuild,v 1.1 2005/01/09 15:08:06 wolf31o2 Exp $ + +inherit eutils + +DESCRIPTION="Loki Software product registry database" +HOMEPAGE="http://icculus.org/loki_setup" +SRC_URI="http://dev.gentoo.org/~wolf31o2/sources/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 amd64 ~ppc" +RESTRICT="" +IUSE="" + +DEPEND="dev-libs/libxml" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-amd64.patch +} + +src_compile() { + ./autogen.sh || "autogen.sh failed" + econf || die "econf failed" + emake all setupdb || die "emake failed" +} + +src_install() { + # the following dir-structure is needed to make sure that + # loki_setupdb is recognized by loki_patch + SETUPDB_DIR=usr/share/loki_setupdb/ + dodir ${SETUPDB_DIR}/include + insinto ${SETUPDB_DIR}/include + doins *.h || die "doins failed." + dodir ${SETUPDB_DIR}/${ARCH} + insinto ${SETUPDB_DIR}/${ARCH} + doins ${ARCH}/{libsetupdb.a,arch.o,md5.o,setupdb.o} \ + || die "doins failed." + + dodir /usr/bin + exeinto /usr/bin + doexe setupdb || die "doexe failed." + dodoc CHANGES README || die "dodoc failed." +} |