diff options
author | Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net> | 2010-03-04 20:11:18 +0000 |
---|---|---|
committer | Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net> | 2010-03-04 20:11:18 +0000 |
commit | 0f402fcf29c36584bce6f679c8699f4cf3c58a4b (patch) | |
tree | 1c539b90949d5e1305700dd9000ac8c66e02ef27 /dev-cpp/cli | |
parent | x11-misc/dragbox: Dot removed in the description (diff) | |
download | sunrise-0f402fcf29c36584bce6f679c8699f4cf3c58a4b.tar.gz sunrise-0f402fcf29c36584bce6f679c8699f4cf3c58a4b.tar.bz2 sunrise-0f402fcf29c36584bce6f679c8699f4cf3c58a4b.zip |
dev-cpp/cli: New ebuild for bug 301561, thanks to few, chiiph, hwoarang, et al.
svn path=/sunrise/; revision=10219
Diffstat (limited to 'dev-cpp/cli')
-rw-r--r-- | dev-cpp/cli/ChangeLog | 8 | ||||
-rw-r--r-- | dev-cpp/cli/Manifest | 4 | ||||
-rw-r--r-- | dev-cpp/cli/cli-1.1.0.ebuild | 41 | ||||
-rw-r--r-- | dev-cpp/cli/metadata.xml | 5 |
4 files changed, 58 insertions, 0 deletions
diff --git a/dev-cpp/cli/ChangeLog b/dev-cpp/cli/ChangeLog new file mode 100644 index 000000000..59e66bac7 --- /dev/null +++ b/dev-cpp/cli/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-cpp/cli +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 04 Mar 2010; Nathan Phillip Brink (ohnobinki) + <ohnobinki@ohnopublishing.net> +cli-1.1.0.ebuild, +metadata.xml: + New ebuild for bug 301561, thanks to few, chiiph, hwoarang, et al. + diff --git a/dev-cpp/cli/Manifest b/dev-cpp/cli/Manifest new file mode 100644 index 000000000..903706ff7 --- /dev/null +++ b/dev-cpp/cli/Manifest @@ -0,0 +1,4 @@ +DIST cli-1.1.0.tar.bz2 105276 RMD160 15cd90787996c33a1570ab287eedd0c946840a69 SHA1 6cd417d24cd2c3210a3239087c02bb460ac1c983 SHA256 cf00e3ad9dbeb1c4c006b86ec716d05b131fc99740dadb681d90601195b6e02d +EBUILD cli-1.1.0.ebuild 1135 RMD160 0baaf868fbfbfdce2ca7ec4f055fbdba9d92036b SHA1 a167990c5a220325f59750f0add0819f75dcc3dd SHA256 35ff6929e175838e51ebc5cf8c848ee766d25c38912d8e1c99e1432ba6e1531e +MISC ChangeLog 297 RMD160 a86d8e23d25750c253a29b869d147b909f48ded6 SHA1 a103667d72b91fd141cdfc65029f32319db8f27a SHA256 6831b9a300cb11abd6d12d253dd50da07c8c12429e8240867b423b7ed1ffb7df +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/dev-cpp/cli/cli-1.1.0.ebuild b/dev-cpp/cli/cli-1.1.0.ebuild new file mode 100644 index 000000000..5a3251336 --- /dev/null +++ b/dev-cpp/cli/cli-1.1.0.ebuild @@ -0,0 +1,41 @@ +# 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="Domain-specific language for defining command line interfaces" +HOMEPAGE="http://www.codesynthesis.com/projects/cli/" +SRC_URI="http://www.codesynthesis.com/download/${PN}/${MY_PV}/${P}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-cpp/libcutl" +DEPEND="${RDEPEND} + dev-util/build:0.3" + +src_configure() { + mkdir -p build/cxx/gnu || die + echo "cxx_id := gnu" > build/cxx/configuration-dynamic.make || die + + cat <<EOF > build/cxx/gnu/configuration-dynamic.make || die +cxx_gnu := $(tc-getCXX) +cxx_gnu_libraries := /usr/$(get_libdir) +cxx_gnu_optimization_options := ${CXXFLAGS} +EOF + + echo "libcutl_installed := y" > build/import/libcutl/configuration-dynamic.make || die + + find . -name 'makefile' -exec sed -i -e "s|(install_doc_dir)/cli|(install_doc_dir)|" {} \; +} + +src_install() { + emake install_prefix="${D}/usr" install_doc_dir="${D}/usr/share/doc/cli-${PV}" \ + install || die +} diff --git a/dev-cpp/cli/metadata.xml b/dev-cpp/cli/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/dev-cpp/cli/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> |