summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-01-09 15:08:06 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-01-09 15:08:06 +0000
commit92cf4bdfc121a5228dcb122f926defb484cc0718 (patch)
treeb740f541e63123e5daec31e07dba570751655335 /games-util/loki_setupdb
parentMarking version 20041030 stable on x86 (diff)
downloadhistorical-92cf4bdfc121a5228dcb122f926defb484cc0718.tar.gz
historical-92cf4bdfc121a5228dcb122f926defb484cc0718.tar.bz2
historical-92cf4bdfc121a5228dcb122f926defb484cc0718.zip
Added amd64 patch and closing bug #77091.
Diffstat (limited to 'games-util/loki_setupdb')
-rw-r--r--games-util/loki_setupdb/ChangeLog10
-rw-r--r--games-util/loki_setupdb/Manifest7
-rw-r--r--games-util/loki_setupdb/files/digest-loki_setupdb-200501091
-rw-r--r--games-util/loki_setupdb/files/loki_setupdb-20050109-amd64.patch12
-rw-r--r--games-util/loki_setupdb/loki_setupdb-20040916.ebuild4
-rw-r--r--games-util/loki_setupdb/loki_setupdb-20050109.ebuild46
6 files changed, 74 insertions, 6 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/Manifest b/games-util/loki_setupdb/Manifest
index a9f72fff8d57..670c3bb77f85 100644
--- a/games-util/loki_setupdb/Manifest
+++ b/games-util/loki_setupdb/Manifest
@@ -1,4 +1,7 @@
-MD5 4221abe115860efcb8a2e1b5fec0b98c ChangeLog 565
-MD5 775a051af948264bf6847c40e3198623 loki_setupdb-20040916.ebuild 1153
+MD5 9662c78eb8b969749296395c49c34ab1 loki_setupdb-20040916.ebuild 1156
+MD5 781fc55a786bc7f3ff87ad8cdfb09cd8 ChangeLog 780
MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254
+MD5 6c92d5168d07500ed6a39bb624951cd7 loki_setupdb-20050109.ebuild 1224
MD5 90547faac9708b57ccef4a2c06c4e99e files/digest-loki_setupdb-20040916 73
+MD5 9a771fabbd974d6619ee1d325d85dab1 files/digest-loki_setupdb-20050109 73
+MD5 42134f25a3b5cc6728cb0291b0035e0c files/loki_setupdb-20050109-amd64.patch 399
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."
+}