]> Pileus Git - ~andy/sunrise/commitdiff
dev-util/ticpp: New snapshot version added, thanks to hwoarang and Tommy[D]'s HTC...
authorLaurento Frittella (mrfree) <laurento.frittella@gmail.com>
Fri, 1 Oct 2010 14:35:09 +0000 (14:35 +0000)
committerLaurento Frittella (mrfree) <laurento.frittella@gmail.com>
Fri, 1 Oct 2010 14:35:09 +0000 (14:35 +0000)
svn path=/sunrise/; revision=11388

dev-util/ticpp/ChangeLog
dev-util/ticpp/Manifest
dev-util/ticpp/ticpp-0_p20100924.ebuild [new file with mode: 0644]

index 0861bc79be18f6775770b93bdfb669dccc0fe8db..41cbe1eea685dec9179277b6979bc0618ee81d4a 100644 (file)
@@ -1,7 +1,11 @@
 # ChangeLog for dev-util/ticpp
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  01 Oct 2010; Laurento Frittella (mrfree) <laurento.frittella@gmail.com>
+  +ticpp-0_p20100924.ebuild:
+  New snapshot version added, thanks to hwoarang and Tommy[D]'s HTC-hammer
+
   20 Apr 2009; Christian Ruppert <idl0r@gentoo.org> ticpp-9999.ebuild:
   Live ebuilds shouldn't have KEYWORDS. Added missing die statement.
 
index b9ab73362352c03e5aebe3b1d82be2690f0205bc..a89f78d1aa930761ad43d069c193255a06e9110e 100644 (file)
@@ -1,3 +1,5 @@
+DIST ticpp-0_p20100924.tar.bz2 75770 RMD160 c32e8ff06fae3ed451a77959bdc3276f876fcfb2 SHA1 2f828760d2a74f8283267059b5ad1058a25f9ac3 SHA256 ab2ffd13d2c1f412d48d62b2be7789be866e66a17704bdc2294cbc485fd31c18
+EBUILD ticpp-0_p20100924.ebuild 1177 RMD160 4b530b4038068ae2e81ad0d8b6317e7744d6b3c0 SHA1 f962ca43b3f9ec6f6cd608e276b98b3ae0155816 SHA256 a3743598bb72a3358243d7ce1a495556906d768976874ca2f69bee30a3279bfc
 EBUILD ticpp-9999.ebuild 1216 RMD160 a093b7949f311a2480969c8ae42d6cb61c26b536 SHA1 0070450256cb45ac74d9ce4d98c41413570967e5 SHA256 fd192181a8b61504feeeacc2bba85c5608b925016a2ad02c29ab4e1b5fb62db2
-MISC ChangeLog 940 RMD160 218990f151127968a1cd03ac66b6911040eb372e SHA1 77abbe0a5f1e81a297823e52fb91ef5e72c2d03f SHA256 50e23460df0d66136205ee81c78b6b69ba0177f26a8dd7897b4d87cf0611e897
+MISC ChangeLog 1119 RMD160 fcf0bdab8e201e13aa648e5c81acb6405e8af2ea SHA1 4d6ff7d2edbf384a64e7cbf91f2b4fab97c51778 SHA256 7ce5bb51a09ee523e0eb00d849d44f3e8e8a6cc577bdc2515588ec815785faed
 MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/dev-util/ticpp/ticpp-0_p20100924.ebuild b/dev-util/ticpp/ticpp-0_p20100924.ebuild
new file mode 100644 (file)
index 0000000..2016572
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="A completely new interface to TinyXML that uses MANY of the C++ strengths"
+HOMEPAGE="http://code.google.com/p/ticpp/"
+SRC_URI="http://sulmonalug.it/files/mrfree/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="debug doc"
+
+DEPEND="dev-util/premake
+       doc? ( app-doc/doxygen sys-apps/sed )"
+RDEPEND=""
+
+src_compile() {
+       local myconf
+
+       premake --target gnu || die "creating Makefile failed"
+
+       if use !debug ; then
+               myconf="CONFIG=Release"
+       fi
+
+       emake ${myconf} || die "emake failed"
+
+       if use doc ; then
+               sed -i -e '/GENERATE_HTMLHELP/s:YES:NO:' dox || die "sed failed"
+               doxygen dox || die "doxygen failed"
+       fi
+}
+
+src_install () {
+       insinto /usr/include/ticpp
+       doins *.h || die "installing headers failed"
+
+       if use debug ; then
+               dolib ../lib/libticppd.a || die "installing library failed"
+       else
+               dolib ../lib/libticpp.a || die "installing library failed"
+       fi
+
+       dodoc {changes,readme,tutorial_gettingStarted,tutorial_ticpp}.txt || \
+               die "dodoc failed"
+
+       if use doc ; then
+               dohtml -r docs/* || die "installing docs failed"
+       fi
+}