diff options
author | 2009-08-08 17:38:30 +0000 | |
---|---|---|
committer | 2009-08-08 17:38:30 +0000 | |
commit | bb908e07065bde111004169bdf6d556141324ca6 (patch) | |
tree | 42017181d98d6b04cb8f75d94c88e101b6e32c80 /dev-libs/qoauth | |
parent | gdal: remove deprecated patch (diff) | |
download | gentoo-2-bb908e07065bde111004169bdf6d556141324ca6.tar.gz gentoo-2-bb908e07065bde111004169bdf6d556141324ca6.tar.bz2 gentoo-2-bb908e07065bde111004169bdf6d556141324ca6.zip |
Version bump
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/qoauth')
-rw-r--r-- | dev-libs/qoauth/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/qoauth/qoauth-1.0.ebuild | 57 |
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-libs/qoauth/ChangeLog b/dev-libs/qoauth/ChangeLog index 5fb7c0559d76..d051850b2190 100644 --- a/dev-libs/qoauth/ChangeLog +++ b/dev-libs/qoauth/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/qoauth # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/qoauth/ChangeLog,v 1.1 2009/07/14 18:51:26 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/qoauth/ChangeLog,v 1.2 2009/08/08 17:38:30 hwoarang Exp $ + +*qoauth-1.0 (08 Aug 2009) + + 08 Aug 2009; Markos Chandras <hwoarang@gentoo.org> +qoauth-1.0.ebuild: + Version bump *qoauth-0.1.0 (14 Jul 2009) diff --git a/dev-libs/qoauth/qoauth-1.0.ebuild b/dev-libs/qoauth/qoauth-1.0.ebuild new file mode 100644 index 000000000000..16bc75b782f4 --- /dev/null +++ b/dev-libs/qoauth/qoauth-1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/qoauth/qoauth-1.0.ebuild,v 1.1 2009/08/08 17:38:30 hwoarang Exp $ + +EAPI="2" + +inherit qt4 + +DESCRIPTION="A Qt-based library for OAuth support" +HOMEPAGE="http://wiki.github.com/ayoy/qoauth" +SRC_URI="http://files.ayoy.net/qoauth/release/${PV}/src/${P}-src.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc test" + +COMMON_DEPEND="app-crypt/qca:2[debug?]" +DEPEND="${COMMON_DEPEND} + doc? ( app-doc/doxygen )" +RDEPEND="${COMMON_DEPEND} + app-crypt/qca-ossl:2[debug?]" + +src_prepare() { + qt4_src_prepare + sed -i -e '/^ *docs \\$/d' \ + -e '/^ *build_all \\$/d' \ + -e 's/^\#\(!macx\)/\1/' \ + -e "s!\(\$\${INSTALL_PREFIX}\)/lib!\1/$(get_libdir)!" \ + src/src.pro || die "sed failed" + + sed -i -e "s/\(.*\)lib$/\1$(get_libdir)/" src/pcfile.sh || die "sed failed" + + if ! use test; then + sed -i -e 's/^\(SUBDIRS.*\) tests/\1/' ${PN}.pro || die "sed failed" + fi +} + +src_configure() { + eqmake4 +} + +src_compile() { + default + emake -C src static || die "emake failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "emake install failed" + dolib.a "${S}/lib/lib${PN}.a" || die "dolib failed" + dodoc README CHANGELOG || die "dodoc failed" + + if use doc; then + doxygen "${S}/Doxyfile" || die "Failed to generate documentation" + dohtml "${S}"/doc/html/* || die "Failed to install documentation" + fi +} |