diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-04-30 02:23:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-04-30 02:23:16 +0000 |
commit | e6ad346bcba7f0a3a18008d4193746ba4cdaee89 (patch) | |
tree | 88f7b462155fcb59be7fce4b7b64c200d72044eb /dev-lang/cm3 | |
parent | fixed dtd dir (diff) | |
download | historical-e6ad346bcba7f0a3a18008d4193746ba4cdaee89.tar.gz historical-e6ad346bcba7f0a3a18008d4193746ba4cdaee89.tar.bz2 historical-e6ad346bcba7f0a3a18008d4193746ba4cdaee89.zip |
nothing like a working ebuild eh?
Diffstat (limited to 'dev-lang/cm3')
-rw-r--r-- | dev-lang/cm3/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/cm3/Manifest | 6 | ||||
-rw-r--r-- | dev-lang/cm3/cm3-5.2.4.ebuild | 29 | ||||
-rw-r--r-- | dev-lang/cm3/files/m3build | 2 | ||||
-rw-r--r-- | dev-lang/cm3/files/m3ship | 2 |
5 files changed, 36 insertions, 8 deletions
diff --git a/dev-lang/cm3/ChangeLog b/dev-lang/cm3/ChangeLog index 8ae5866ba1b3..7059d29d7a13 100644 --- a/dev-lang/cm3/ChangeLog +++ b/dev-lang/cm3/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for dev-lang/cm3 # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3/ChangeLog,v 1.1 2003/04/17 16:10:51 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3/ChangeLog,v 1.2 2003/04/30 02:23:00 vapier Exp $ *cm3-5.2.4 (17 Apr 2003) + 30 Apr 2003; Mike Frysinger <vapier@gentoo.org> : + mmm should be all set now ... src_install has been all fleshed out + 17 Apr 2003; Mike Frysinger <vapier@gentoo.org> : Initial import. Ebuild submitted by me. It is incomplete though ... i dont use m3, i cant really test it ;) diff --git a/dev-lang/cm3/Manifest b/dev-lang/cm3/Manifest new file mode 100644 index 000000000000..58de7e73f832 --- /dev/null +++ b/dev-lang/cm3/Manifest @@ -0,0 +1,6 @@ +MD5 b1cce283f981d75a9d8134efc0faded9 cm3-5.2.4.ebuild 2362 +MD5 f1ad63aa94bbd4189d3f1770d22cd63e ChangeLog 519 +MD5 f79ef9c07b92317474ce2d48ecae0d6d files/digest-cm3-5.2.4 148 +MD5 b59e89e23c56831be2c1552870f15afb files/cm3.cfg 13025 +MD5 9e6999a8078829ff6e304a50188d16dc files/m3build 26 +MD5 5e3a7f25af13b2b9d199d0e361f04556 files/m3ship 25 diff --git a/dev-lang/cm3/cm3-5.2.4.ebuild b/dev-lang/cm3/cm3-5.2.4.ebuild index db65ad355723..66f9eefd87d7 100644 --- a/dev-lang/cm3/cm3-5.2.4.ebuild +++ b/dev-lang/cm3/cm3-5.2.4.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.4.ebuild,v 1.1 2003/04/17 16:10:51 vapier Exp $ +# $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}" @@ -20,7 +20,7 @@ DEPEND="tcltk? ( dev-lang/tcl ) S=${WORKDIR} export cm3base=${T}/cm3base/ -export PATH="${PATH}:${cm3base}/bin" +export PATH="${cm3base}/bin:${PATH}" export LD_LIBRARY_PATH="${LD_LIBRARY_PATH} ${cm3base}/lib" src_unpack() { @@ -61,11 +61,26 @@ src_compile() { } src_install() { - # i know this is wrong but hey, thats why this is in package.mask ;) - for d in ${cm3base}/pkg/* ; do - rm -rf ${d}/src/* - mv ${d}/${M3_TARGET}/* ${d}/ - done 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/files/m3build b/dev-lang/cm3/files/m3build new file mode 100644 index 000000000000..15f78321353f --- /dev/null +++ b/dev-lang/cm3/files/m3build @@ -0,0 +1,2 @@ +#!/bin/bash +cm3 -build $@ diff --git a/dev-lang/cm3/files/m3ship b/dev-lang/cm3/files/m3ship new file mode 100644 index 000000000000..a816c7ae8a8f --- /dev/null +++ b/dev-lang/cm3/files/m3ship @@ -0,0 +1,2 @@ +#!/bin/bash +cm3 -ship $@ |