diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-07-17 17:21:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-07-17 17:21:15 +0000 |
commit | a5b9125489bab897f6c2319c13197a15286524e2 (patch) | |
tree | 6e0a07e86c1b029982e85cd22af8dcb623d103b6 /dev-lang | |
parent | version bump (diff) | |
download | historical-a5b9125489bab897f6c2319c13197a15286524e2.tar.gz historical-a5b9125489bab897f6c2319c13197a15286524e2.tar.bz2 historical-a5b9125489bab897f6c2319c13197a15286524e2.zip |
remove extra stuff
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/cm3/Manifest | 7 | ||||
-rw-r--r-- | dev-lang/cm3/cm3-5.2.4.ebuild | 86 | ||||
-rw-r--r-- | dev-lang/cm3/cm3-5.2.6.ebuild | 67 | ||||
-rw-r--r-- | dev-lang/cm3/files/digest-cm3-5.2.4 | 2 |
4 files changed, 1 insertions, 161 deletions
diff --git a/dev-lang/cm3/Manifest b/dev-lang/cm3/Manifest deleted file mode 100644 index 1a965d774ca3..000000000000 --- a/dev-lang/cm3/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -MD5 b59e89e23c56831be2c1552870f15afb files/cm3.cfg 13025 -MD5 9e6999a8078829ff6e304a50188d16dc files/m3build 26 -MD5 5e3a7f25af13b2b9d199d0e361f04556 files/m3ship 25 -MD5 a071e91cf56b602fba2b046c25fa0826 files/05cm3 26 -MD5 a1dde486e6ef43915e1c5f33229a90da files/digest-cm3-5.2.6 148 -MD5 92954d176f5d8b6e32d0d2a8e6417142 ChangeLog 657 -MD5 1bbc8d370f63fb0c5f8f67abe2067936 cm3-5.2.6.ebuild 1664 diff --git a/dev-lang/cm3/cm3-5.2.4.ebuild b/dev-lang/cm3/cm3-5.2.4.ebuild deleted file mode 100644 index 66f9eefd87d7..000000000000 --- a/dev-lang/cm3/cm3-5.2.4.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3/cm3-5.2.4.ebuild,v 1.2 2003/04/30 02:23:00 vapier Exp $ - -M3_TARGET="LINUXLIBC6" -MY_P="${PN}-src-all-${PV}" -DESCRIPTION="Modula-3 compiler" -HOMEPAGE="http://www.elegosoft.com/cm3/" -SRC_URI="http://www.elegosoft.com/cm3/${MY_P}.tgz - http://www.elegosoft.com/cm3/cm3-min-POSIX-${M3_TARGET}-${PV}.tgz" - -LICENSE="CMASS-M3 DEC-M3" -SLOT="0" -KEYWORDS="~x86" -IUSE="tcltk" - -DEPEND="tcltk? ( dev-lang/tcl ) - sys-devel/gcc" - -S=${WORKDIR} - -export cm3base=${T}/cm3base/ -export PATH="${cm3base}/bin:${PATH}" -export LD_LIBRARY_PATH="${LD_LIBRARY_PATH} ${cm3base}/lib" - -src_unpack() { - unpack ${A} - - mkdir ${cm3base} - tar -zxf system.tgz -C ${cm3base} || die - - [ -z "${EDITOR}" ] && export EDITOR=/usr/bin/nano - [ -z "${CC}" ] && export CC=gcc - [ -z "${CFLAGS}" ] && export CFLAGS="-O" - [ -z "${MAKE}" ] && export MAKE=make - sed -e "s:GENTOO_INITIAL_REACTOR_EDITOR:${EDITOR}:" \ - -e "s:GENTOO_INSTALL_ROOT:${cm3base}:" \ - -e "s:GENTOO_GNU_CC:${CC}:" \ - -e "s:GENTOO_GNU_CFLAGS:${CFLAGS}:" \ - -e "s:GENTOO_GNU_MAKE:${MAKE}:" \ - ${FILESDIR}/cm3.cfg > ${cm3base}/bin/cm3.cfg -} - -src_compile() { - # we have to set ROOT/P ... they mess up the build scripts - # if we dont :/ - export GCC_BACKEND="yes" - export M3GDB="no" - unset M3GC_SIMPLE - export HAVE_SERIAL="no" - use tcltk \ - && HAVE_TCL="yes" \ - || HAVE_TCL="no" - - export TMPDIR=${T} - cd scripts - for s in do-cm3-core boot-cm3-with-m3 do-cm3-base ; do - env -u P ROOT=${S} ./${s}.sh build || die "failed on ${s}" - env -u P ROOT=${S} ./${s}.sh ship || die "failed on ${s}" - done -} - -src_install() { - dodir /usr/lib/cm3 - mv ${cm3base}/pkg ${D}/usr/lib/cm3/ - dobin ${FILESDIR}/m3{build,ship} - dosym /usr/lib/cm3/pkg/cm3/${M3_TARGET}/cm3 /usr/bin/cm3 - into /usr/lib/cm3/ - dobin ${cm3base}/bin/cm3cg - - insinto /usr/bin - echo "ROOT=\"/usr/lib/cm3/pkg/\"" >> ${cm3base}/bin/cm3.cfg - doins ${cm3base}/bin/cm3.cfg - - for lib in `find ${D}/usr/lib/cm3/ -name 'libm3*.so*'` ; do - lib=${lib:${#D}} - dosym ${lib} /usr/lib/`basename ${lib}` - done - - for f in `grep -lIR ${PORTAGE_TMPDIR}/portage/${PF} ${D}` ; do - f=${f:${#D}} - dosed "s:${cm3base}:/usr/lib/cm3/:" ${f} - dosed "s:${S}/m3-libs:/usr/lib/cm3/pkg/:" ${f} - dosed "s:${S}/m3-sys:/usr/lib/cm3/pkg/:" ${f} - done -} diff --git a/dev-lang/cm3/cm3-5.2.6.ebuild b/dev-lang/cm3/cm3-5.2.6.ebuild index 7c96b107d668..a45611f78064 100644 --- a/dev-lang/cm3/cm3-5.2.6.ebuild +++ b/dev-lang/cm3/cm3-5.2.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3/cm3-5.2.6.ebuild,v 1.1 2003/07/17 17:19:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3/cm3-5.2.6.ebuild,v 1.2 2003/07/17 17:21:15 vapier Exp $ DESCRIPTION="Critical Mass Modula-3 compiler" HOMEPAGE="http://www.elegosoft.com/cm3/" @@ -56,69 +56,4 @@ src_install() { insinto /etc/env.d doins ${FILESDIR}/05cm3 - return 0 - - # old code left in so i can save it in cvs if i need it in the future ... - local pkgs="" - grep P= do-cm3-base.sh > my-base-pkgs ; echo 'echo $P' >> my-base-pkgs - grep P= do-cm3-core.sh > my-core-pkgs ; echo 'echo $P' >> my-core-pkgs - pkgs="$(export TARGET=${TARGET}; source my-base-pkgs ; source my-core-pkgs )" - dodir /usr/lib/cm3/pkg - for p in ${pkgs} ; do - pdir=`find ${S} -type d -name ${p} -maxdepth 2 -mindepth 2` - pkg=`basename ${p}` - [ -e ${D}/usr/lib/cm3/pkg/${pkg} ] && continue - - # install by hand ... - #cp -rf ${pdir} ${D}/usr/lib/cm3/pkg/${pkg} - #cd ${D}/usr/lib/cm3/pkg/${pkg}/${TARGET} - #rm *.{i,m}o .M3SHIP - #cd ${D}/usr/lib/cm3/pkg/${pkg}/src - #find -type f \ - # ! -name '*.i3' -a \ - # ! -name '*.m3' -a \ - # ! -name '*.ig' -a \ - # ! -name '*.mg' -a \ - # ! -name '*.c' -a \ - # ! -name '*.h' -a \ - # ! -name '*.tmpl' \ - # -exec rm '{}' \; - - # translate m3ship file into portage - cd ${pdir}/${TARGET} - echo "=== package ${pdir} ===" # mimic cm3 output - my_m3ship - echo " ==> ${pdir} done" - echo - done -} - -my_m3ship() { - [ ! -e .M3SHIP ] && echo "package was built with overrides, not shipping." && return 0 - local act - local src - local dst - local perms - local l - while read LINE ; do - # each line has the format: - # action("source file", "dest file", "permissions") - # unless of course the action doesnt need the extra params (i.e. make_dir) - # we translate it into 'action sourcefile destfile permissions' - l=$(echo ${LINE} | sed -e 's:[" )]::g' -e 's:[(,]: :g') - set -- ${l} - act=${1} - src=${2} - dst=${3} - perms=${4} - case ${act} in - install_file) insinto ${dst} - doins ${src} - fperms ${perms} ${dst}/$(basename ${src});; - make_dir) dodir ${src};; - link_file) dosym ${src} ${dst};; - *) die "unknown M3SHIP action ${act}";; - esac - debug-print ACT: ${act} SRC: ${src} DST: ${dst} PERMS: ${perms} - done < .M3SHIP } diff --git a/dev-lang/cm3/files/digest-cm3-5.2.4 b/dev-lang/cm3/files/digest-cm3-5.2.4 deleted file mode 100644 index 2f60b9208c4c..000000000000 --- a/dev-lang/cm3/files/digest-cm3-5.2.4 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 d7ce529bc6bffc87ade367c7c0d79256 cm3-src-all-5.2.4.tgz 30315840 -MD5 baef2b13cba93f1f75bf9da18e2094aa cm3-min-POSIX-LINUXLIBC6-5.2.4.tgz 5526437 |