diff options
author | Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net> | 2010-01-19 21:59:42 +0000 |
---|---|---|
committer | Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net> | 2010-01-19 21:59:42 +0000 |
commit | 3c534721283733981a57f4133ea7a2a6ff66f74b (patch) | |
tree | 404451008d6931efee46a5c193f186800371c65b /dev-cpp | |
parent | dev-util/build: SLOT build because packages which use it have /usr/include/bu... (diff) | |
download | sunrise-3c534721283733981a57f4133ea7a2a6ff66f74b.tar.gz sunrise-3c534721283733981a57f4133ea7a2a6ff66f74b.tar.bz2 sunrise-3c534721283733981a57f4133ea7a2a6ff66f74b.zip |
dev-cpp/libcutl: New ebuild for bug 301249 thanks to few, chiiph, tommy, and Boris Kolpackov
svn path=/sunrise/; revision=9904
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/libcutl/ChangeLog | 8 | ||||
-rw-r--r-- | dev-cpp/libcutl/Manifest | 4 | ||||
-rw-r--r-- | dev-cpp/libcutl/libcutl-1.1.1.ebuild | 50 | ||||
-rw-r--r-- | dev-cpp/libcutl/metadata.xml | 5 |
4 files changed, 67 insertions, 0 deletions
diff --git a/dev-cpp/libcutl/ChangeLog b/dev-cpp/libcutl/ChangeLog new file mode 100644 index 000000000..f55aedd74 --- /dev/null +++ b/dev-cpp/libcutl/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-cpp/libcutl +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 19 Jan 2010; Nathan Phillip Brink (ohnobinki) + <ohnobinki@ohnopublishing.net> +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/Manifest b/dev-cpp/libcutl/Manifest new file mode 100644 index 000000000..d9d9e87a1 --- /dev/null +++ b/dev-cpp/libcutl/Manifest @@ -0,0 +1,4 @@ +DIST libcutl-1.1.1.tar.bz2 22753 RMD160 e203257090f48ab983b0eefe353222c51b2d6da8 SHA1 83cb2f1dcdbd8b4ae41e82f171c3cdefdbca1ef0 SHA256 ec0d6e49f9b7d0465f9bc990eeb498c73a84d69104a43c66d72cab7e7631bae3 +EBUILD libcutl-1.1.1.ebuild 1677 RMD160 9be0685c937ebe5e6cd5dfb6b56dac017bfd8e95 SHA1 71df916af140f9f76834d0f59e7275c04838b6e4 SHA256 e0252cc9acce1180bb83642b32ecd494036fe8b9910fc5c0ee11bfa57776aa35 +MISC ChangeLog 314 RMD160 6d6a326b701959c075b9a70deebef2e491c5090c SHA1 a1f9d2259b77328f3b224545e0e21474da70f7dd SHA256 96245f9e061b31100f394300faf17b40294cc89f7fae0eee845cb3589a75188b +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/dev-cpp/libcutl/libcutl-1.1.1.ebuild b/dev-cpp/libcutl/libcutl-1.1.1.ebuild new file mode 100644 index 000000000..b32dad454 --- /dev/null +++ b/dev-cpp/libcutl/libcutl-1.1.1.ebuild @@ -0,0 +1,50 @@ +# 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 +}
\ No newline at end of file diff --git a/dev-cpp/libcutl/metadata.xml b/dev-cpp/libcutl/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/dev-cpp/libcutl/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> |