summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-13 00:40:30 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-13 00:40:30 +0000
commita0fb24432832075f6761fd81a7bac734e2c133d2 (patch)
treee7ca7f9c8d0a69fdb1f97c0799f55f20505f0afc /dev-lang
parentmoved IUSE below "inherit" line. Consolidate two lines of inherit into one. (diff)
downloadhistorical-a0fb24432832075f6761fd81a7bac734e2c133d2.tar.gz
historical-a0fb24432832075f6761fd81a7bac734e2c133d2.tar.bz2
historical-a0fb24432832075f6761fd81a7bac734e2c133d2.zip
erm i forgot the PPC_LINUX boot binary :)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ezm3/Manifest10
-rw-r--r--dev-lang/ezm3/ezm3-1.2.ebuild23
-rw-r--r--dev-lang/ezm3/files/digest-ezm3-1.21
3 files changed, 19 insertions, 15 deletions
diff --git a/dev-lang/ezm3/Manifest b/dev-lang/ezm3/Manifest
index 3495ba2349ea..809fdd0c6973 100644
--- a/dev-lang/ezm3/Manifest
+++ b/dev-lang/ezm3/Manifest
@@ -2,13 +2,13 @@
Hash: SHA1
MD5 c8e97596995768ad129c28c293d3b570 ChangeLog 327
-MD5 bd6b97dd3fd44070b256ad27cdb88752 ezm3-1.2.ebuild 2198
+MD5 e4557b0e80c1fa2376bb604975b344a5 ezm3-1.2.ebuild 2219
MD5 76be14d520fa8faafe6f02e09f20323e metadata.xml 295
-MD5 5cb3092c2d71d381f7f9adb6b14f29bf files/digest-ezm3-1.2 217
+MD5 f203f577cc77069c4649a5acb239ab59 files/digest-ezm3-1.2 294
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.8 (GNU/Linux)
-iD8DBQFA8WHLHTu7gpaalycRAp2iAJ9QNjDg5KetuXgMKmI0gfIN2d1fBwCgul3i
-LGrAnsLR2ToYGe7MjNFx58c=
-=cqPh
+iD8DBQFA8y+QHTu7gpaalycRAuDUAJ9oGMpbd9wRtXXOzpqdTqq5VxGh2ACgkscD
+H58vCNs5HuKiLfdeUnnlEbQ=
+=Dl0Z
-----END PGP SIGNATURE-----
diff --git a/dev-lang/ezm3/ezm3-1.2.ebuild b/dev-lang/ezm3/ezm3-1.2.ebuild
index 29cb693e3024..f1047a09c1e1 100644
--- a/dev-lang/ezm3/ezm3-1.2.ebuild
+++ b/dev-lang/ezm3/ezm3-1.2.ebuild
@@ -1,19 +1,15 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ezm3/ezm3-1.2.ebuild,v 1.1 2004/07/11 15:50:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ezm3/ezm3-1.2.ebuild,v 1.2 2004/07/13 00:40:30 vapier Exp $
inherit eutils
-MY_P="${P/-/-snap-}"
-EZM3="ezm3-1.1"
-EZM3_TARGET="LINUXLIBC6"
-
DESCRIPTION="stripped down m3 compiler for building cvsup"
HOMEPAGE="http://www.polstra.com/projects/freeware/ezm3/"
SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/ezm3/${P}-src.tar.bz2
x86? ( ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/ezm3/${P}-LINUXLIBC6-boot.tar.bz2 )
+ ppc? ( mirror://gentoo/${P}-PPC_LINUX-boot.tar.bz2 )
mirror://gentoo/${P}-PPC_LINUX.patch.bz2"
-# ppc? ( mirror://gentoo/${P}-PPC_LINUX-boot.tar.bz2 )"
LICENSE="BSD"
SLOT="0"
@@ -31,6 +27,13 @@ seduse() {
useq !${1} && echo "${2}" || echo ":"
}
+ezm3target() {
+ case ${ARCH} in
+ x86) echo LINUXLIBC6;;
+ ppc) echo PPC_LINUX;;
+ esac
+}
+
src_unpack() {
unpack ${A}
cd ${S}
@@ -43,9 +46,9 @@ src_compile() {
# (to not violate sandbox)
sed -i \
-e "s:/usr/local:/usr:" \
- m3config/src/${EZM3_TARGET} \
- || die "sed ${EZM3_TARGET} failed"
- echo "M3CC_MAKE = [\"make\", \"BISON=yacc\"]" >> m3config/src/${EZM3_TARGET}
+ m3config/src/$(ezm3target) \
+ || die "sed $(ezm3target) failed"
+ echo "M3CC_MAKE = [\"make\", \"BISON=yacc\"]" >> m3config/src/$(ezm3target)
# now we disable X and OpenGL if the user doesnt have them in their USE var
sed -i \
@@ -66,7 +69,7 @@ src_compile() {
}
src_install() {
- cd binaries/${EZM3_TARGET}
+ cd binaries/$(ezm3target)
cp -a usr ${D}/ || die
rm -rf ${D}/usr/man
}
diff --git a/dev-lang/ezm3/files/digest-ezm3-1.2 b/dev-lang/ezm3/files/digest-ezm3-1.2
index ad814d539d68..b225cead8882 100644
--- a/dev-lang/ezm3/files/digest-ezm3-1.2
+++ b/dev-lang/ezm3/files/digest-ezm3-1.2
@@ -1,3 +1,4 @@
MD5 41ac38cc9a57d7498b2ce7705792e2d8 ezm3-1.2-src.tar.bz2 10727649
MD5 1cecf4fea71a00a78387d148745193cb ezm3-1.2-LINUXLIBC6-boot.tar.bz2 1445569
+MD5 26d5827409c749d42323a1f0c51e0018 ezm3-1.2-PPC_LINUX-boot.tar.bz2 1474750
MD5 9361fd7c2ceb289cdb556f3875627bc2 ezm3-1.2-PPC_LINUX.patch.bz2 10024