diff options
-rw-r--r-- | dev-util/cmt/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/cmt/cmt-1.20.20090520.ebuild (renamed from dev-util/cmt/cmt-1.20.20080222.ebuild) | 19 |
2 files changed, 19 insertions, 8 deletions
diff --git a/dev-util/cmt/ChangeLog b/dev-util/cmt/ChangeLog index b00b044bd26f..70f61de6cb42 100644 --- a/dev-util/cmt/ChangeLog +++ b/dev-util/cmt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/cmt # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/ChangeLog,v 1.6 2009/04/21 16:39:01 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/ChangeLog,v 1.7 2009/09/09 23:06:25 bicatali Exp $ + +*cmt-1.20.20090520 (09 Sep 2009) + + 09 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> + -cmt-1.20.20080222.ebuild, +cmt-1.20.20090520.ebuild: + Version bump *cmt-1.20.20081118 (21 Apr 2009) diff --git a/dev-util/cmt/cmt-1.20.20080222.ebuild b/dev-util/cmt/cmt-1.20.20090520.ebuild index e7fd3decf81e..73c280edddc8 100644 --- a/dev-util/cmt/cmt-1.20.20080222.ebuild +++ b/dev-util/cmt/cmt-1.20.20090520.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/cmt-1.20.20080222.ebuild,v 1.2 2008/10/13 22:09:40 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/cmt-1.20.20090520.ebuild,v 1.1 2009/09/09 23:06:25 bicatali Exp $ -inherit elisp-common toolchain-funcs versionator +EAPI=2 +inherit eutils elisp-common toolchain-funcs versionator CPV=($(get_version_components ${PV})) CMT_PV=v${CPV[0]}r${CPV[1]}p${CPV[2]} @@ -22,16 +23,20 @@ RDEPEND="${DEPEND} S="${WORKDIR}/CMT/${CMT_PV}" -src_compile() { +src_configure() { cd "${S}"/mgr ./INSTALL source setup.sh +} + +src_compile() { + cd "${S}"/mgr emake -j1 \ cpp="$(tc-getCXX)" \ cppflags="${CXXFLAGS}" \ - || die "make failed" + || die "emake failed" - sed -i -e "s:${WORKDIR}:/usr/$(get_libdir):g" setup.*sh + sed -i -e "s:${WORKDIR}:/usr/$(get_libdir):g" setup.*sh || die cd "${S}" mv src/demo . rm -f ${CMTBIN}/*.o @@ -44,7 +49,7 @@ src_compile() { src_install() { CMTDIR=/usr/$(get_libdir)/CMT/${CMT_PV} dodir ${CMTDIR} - cp -pPR mgr src ${CMTBIN} "${D}"/${CMTDIR} + cp -pPR mgr src ${CMTBIN} "${D}"/${CMTDIR} || die dodir /usr/bin dosym ${CMTDIR}/${CMTBIN}/cmt.exe /usr/bin/cmt |