initial ebuild #71484
authorMike Frysinger <vapier@gentoo.org>
Mon, 6 Dec 2004 04:12:07 +0000 (04:12 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 6 Dec 2004 04:12:07 +0000 (04:12 +0000)
app-emulation/softgun/ChangeLog [new file with mode: 0644]
app-emulation/softgun/Manifest [new file with mode: 0644]
app-emulation/softgun/files/digest-softgun-0.07 [new file with mode: 0644]
app-emulation/softgun/metadata.xml [new file with mode: 0644]
app-emulation/softgun/softgun-0.07.ebuild [new file with mode: 0644]

diff --git a/app-emulation/softgun/ChangeLog b/app-emulation/softgun/ChangeLog
new file mode 100644 (file)
index 0000000..cb8488b
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/softgun
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/softgun/ChangeLog,v 1.1 2004/12/06 04:12:07 vapier Exp $
+
+*softgun-0.07 (05 Dec 2004)
+
+  05 Dec 2004; Mike Frysinger <vapier@gentoo.org> :
+  Initial import.  Ebuild submitted by Yuri Vasilevski #71484.
diff --git a/app-emulation/softgun/Manifest b/app-emulation/softgun/Manifest
new file mode 100644 (file)
index 0000000..16f0c58
--- /dev/null
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 5c23e63c28ccfbd3ebe1271f94c28b26 softgun-0.07.ebuild 986
+MD5 5406c9175f2830d2b581369eeb921418 ChangeLog 359
+MD5 2e49d565779a0eaae58986e9ac60ad73 metadata.xml 169
+MD5 ad6c326f2a31bc17f529c4d0fa6296a1 files/digest-softgun-0.07 61
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBs9wwroRuSHgZdywRAnHbAJ9+cdyrXsJQhf5H4zBnWMfvNJ/leACePysd
+Wy77uIAtvwpIZlyfucPGq8k=
+=CL7T
+-----END PGP SIGNATURE-----
diff --git a/app-emulation/softgun/files/digest-softgun-0.07 b/app-emulation/softgun/files/digest-softgun-0.07
new file mode 100644 (file)
index 0000000..1ca97b2
--- /dev/null
@@ -0,0 +1 @@
+MD5 6c8a08d7e6cc1dee3b65c1d8a79cd3c2 softgun-0.07.tgz 129171
diff --git a/app-emulation/softgun/metadata.xml b/app-emulation/softgun/metadata.xml
new file mode 100644 (file)
index 0000000..1ac8ccd
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>arm</herd>
+<maintainer>
+</pkgmetadata>
diff --git a/app-emulation/softgun/softgun-0.07.ebuild b/app-emulation/softgun/softgun-0.07.ebuild
new file mode 100644 (file)
index 0000000..2e4e0b7
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/softgun/softgun-0.07.ebuild,v 1.1 2004/12/06 04:12:07 vapier Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="ARM software emulator"
+HOMEPAGE="http://softgun.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       sed -i \
+               -e 's:/usr/local:$(DESTDIR)/usr:' \
+               Makefile || die "sed Makefile failed"
+       sed -i \
+               -e "/^CFLAGS/s:-O9.*-fomit-frame-pointer:${CFLAGS}:" \
+               config.mk || die "sed config.mk failed"
+}
+
+src_compile() {
+       emake CC="$(tc-getCC)" || die "Make feiled"
+}
+
+src_install() {
+       dodir /usr/bin
+       make install DESTDIR="${D}" || die "Install failed"
+       dodoc README defaultconfig
+}
+
+pkg_postinst() {
+       einfo "To create a configuration file, run as user:"
+       einfo "   gzcat /usr/share/doc/${PF}/defaultconfig.gz > ~/.emuconfig"
+}