From 17e37975b1f0c7265b576f49ca8b3ca4108a7e97 Mon Sep 17 00:00:00 2001 From: "Nathan Phillip Brink (binki)" Date: Mon, 27 Jun 2011 03:51:14 +0000 Subject: dev-cpp/libcutl: Bump to libcutl-1.4.1 which uses autotools now instead of the scary dev-util/build. May or may not fix compilation with gcc-4.6. (Portage version: 2.2.0_alpha37-r1/svn/Linux x86_64) svn path=/sunrise/; revision=12161 --- dev-cpp/libcutl/ChangeLog | 9 ++++++- dev-cpp/libcutl/libcutl-1.1.1.ebuild | 50 ------------------------------------ dev-cpp/libcutl/libcutl-1.4.1.ebuild | 21 +++++++++++++++ 3 files changed, 29 insertions(+), 51 deletions(-) delete mode 100644 dev-cpp/libcutl/libcutl-1.1.1.ebuild create mode 100644 dev-cpp/libcutl/libcutl-1.4.1.ebuild (limited to 'dev-cpp') diff --git a/dev-cpp/libcutl/ChangeLog b/dev-cpp/libcutl/ChangeLog index f55aedd74..3fd405976 100644 --- a/dev-cpp/libcutl/ChangeLog +++ b/dev-cpp/libcutl/ChangeLog @@ -1,7 +1,14 @@ # ChangeLog for dev-cpp/libcutl -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*libcutl-1.4.1 (27 Jun 2011) + + 27 Jun 2011; Nathan Phillip Brink + -libcutl-1.1.1.ebuild, +libcutl-1.4.1.ebuild: + Bump to libcutl-1.4.1 which uses autotools now instead of the scary + dev-util/build. May or may not fix compilation with gcc-4.6. + 19 Jan 2010; Nathan Phillip Brink (ohnobinki) +libcutl-1.1.1.ebuild, +metadata.xml: New ebuild for bug 301249 thanks to few, chiiph, tommy, and Boris Kolpackov diff --git a/dev-cpp/libcutl/libcutl-1.1.1.ebuild b/dev-cpp/libcutl/libcutl-1.1.1.ebuild deleted file mode 100644 index 38e8bb8d0..000000000 --- a/dev-cpp/libcutl/libcutl-1.1.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit multilib toolchain-funcs versionator - -MY_PV="$(get_version_component_range 1-2)" -DESCRIPTION="Library of C++ utilities with evil buildsystem" -HOMEPAGE="http://codesynthesis.com/projects/libcutl/" -SRC_URI="http://codesynthesis.com/download/${PN}/${MY_PV}/${P}.tar.bz2" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -# dev-zero's overlay has an old, incompatible version of build-0.3.3 -DEPEND=">=dev-util/build-0.3.5:0.3" -RDEPEND="" - -src_prepare() { - mkdir -p build/cxx/gnu || die - echo "cxx_id := gnu" >> build/cxx/configuration-dynamic.make || die - - echo "cxx_gnu := $(tc-getCXX)" >> build/cxx/gnu/configuration-dynamic.make || die - echo "cxx_gnu_optimization_options := ${CXXFLAGS}" >> build/cxx/gnu/configuration-dynamic.make || die - - mkdir -p build/ld || die - echo "ld_lib_type := shared" >> build/ld/configuration-lib-dynamic.make || die - - # remove documentation installation target because it's just dirty - sed -i -e '/LICENSE)$/,/README)$/d' makefile || die "failed to fix bad documentation installation target" -} - -src_install() { - # install_lib_dir requires a terminating slash because of a bug in libcutl's makefiles - emake verbose=1 install_prefix="${D}/usr" install_lib_dir="${D}/usr/$(get_libdir)/" \ - install || die - - dodoc README NEWS TODO || die -} - -src_test() { - # dev-util/build doesn't use libtool, so we have to specify the -rpath - # for tests with LD_LIBRARY_PATH to avoid polluting the installed - # libcutl.so with extraneous -rpaths (I think...) - LD_LIBRARY_PATH="${S}/cutl:${LD_LIBRARY_PATH}" emake test || die -} diff --git a/dev-cpp/libcutl/libcutl-1.4.1.ebuild b/dev-cpp/libcutl/libcutl-1.4.1.ebuild new file mode 100644 index 000000000..d3f13d191 --- /dev/null +++ b/dev-cpp/libcutl/libcutl-1.4.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit versionator + +DESCRIPTION="Library of C++ utilities with evil buildsystem" +HOMEPAGE="http://codesynthesis.com/projects/libcutl/" +SRC_URI="http://codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +src_install() { + default + dodoc NEWS README +} -- cgit v1.2.3-65-gdbad