diff options
-rw-r--r-- | dev-lang/ezm3/ezm3-1.2.ebuild | 23 | ||||
-rw-r--r-- | dev-lang/ezm3/files/digest-ezm3-1.2 | 1 |
2 files changed, 14 insertions, 10 deletions
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 |