Added amd64 patch and closing bug #77091.
authorChris Gianelloni <wolf31o2@gentoo.org>
Sun, 9 Jan 2005 15:08:06 +0000 (15:08 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Sun, 9 Jan 2005 15:08:06 +0000 (15:08 +0000)
games-util/loki_setupdb/ChangeLog
games-util/loki_setupdb/Manifest
games-util/loki_setupdb/files/digest-loki_setupdb-20050109 [new file with mode: 0644]
games-util/loki_setupdb/files/loki_setupdb-20050109-amd64.patch [new file with mode: 0644]
games-util/loki_setupdb/loki_setupdb-20040916.ebuild
games-util/loki_setupdb/loki_setupdb-20050109.ebuild [new file with mode: 0644]

index 7c8dfe854de578632cf55f131d1c8da099c75cc3..5b3bcb6c4c96f5e2d5c41c7c8b58198afb87713a 100644 (file)
@@ -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.
index a9f72fff8d5756629bba5f859ac85b4da0f051b6..670c3bb77f85b5cae8552265d7a23cac7c06fe1e 100644 (file)
@@ -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 (file)
index 0000000..4fa51eb
--- /dev/null
@@ -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 (file)
index 0000000..4e87e01
--- /dev/null
@@ -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
index 1ca169e995180a0487d60e286677f6956e54d637..41ae212a4c6a9403c8bf051b4509afcb42d1efd3 100644 (file)
@@ -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 (file)
index 0000000..92d6a84
--- /dev/null
@@ -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."
+}