diff options
author | Christian Parpart <trapni@gentoo.org> | 2007-02-02 04:14:04 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2007-02-02 04:14:04 +0000 |
commit | 6c20e4d322dbc883fe3e7dda7931f1e1779c2873 (patch) | |
tree | 30e9e9ed52b93dfe071afaa4e5f85ba591acaaae | |
parent | initial import of the YaCS ebuilds. (diff) | |
download | overlay-6c20e4d322dbc883fe3e7dda7931f1e1779c2873.tar.gz overlay-6c20e4d322dbc883fe3e7dda7931f1e1779c2873.tar.bz2 overlay-6c20e4d322dbc883fe3e7dda7931f1e1779c2873.zip |
snapshot updates
svn path=/overlay/; revision=2
-rw-r--r-- | dev-libs/libyacsutil/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070201.ebuild | 6 | ||||
-rw-r--r-- | dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070202.ebuild | 69 |
3 files changed, 79 insertions, 3 deletions
diff --git a/dev-libs/libyacsutil/ChangeLog b/dev-libs/libyacsutil/ChangeLog new file mode 100644 index 0000000..0b2c4df --- /dev/null +++ b/dev-libs/libyacsutil/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-libs/libyacsutil +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 02 Feb 2007; Christian Parpart <trapni@gentoo.org> ChangeLog: + snapshot bump + diff --git a/dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070201.ebuild b/dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070201.ebuild index b56197c..93b901e 100644 --- a/dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070201.ebuild +++ b/dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070201.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/swl-0.4.0_rc5-r2.ebuild,v 1.2 2005/08/03 01:38:36 trapni Exp $ +# $Header: $ inherit flag-o-matic @@ -9,7 +9,7 @@ HOMEPAGE="http://battousai.mylair.de/yacs/" SRC_URI="http://battousai.mylair.de/dist/yacs/yacs-${PV}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0.6" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" IUSE="debug doc multislot" RDEPEND=">=dev-libs/swl-0.5.0_pre20070201" diff --git a/dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070202.ebuild b/dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070202.ebuild new file mode 100644 index 0000000..93b901e --- /dev/null +++ b/dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070202.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit flag-o-matic + +DESCRIPTION="YaCS utility library" +HOMEPAGE="http://battousai.mylair.de/yacs/" +SRC_URI="http://battousai.mylair.de/dist/yacs/yacs-${PV}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0.6" +KEYWORDS="~amd64" +IUSE="debug doc multislot" + +RDEPEND=">=dev-libs/swl-0.5.0_pre20070201" + +DEPEND="${RDEPEND} + doc? ( >=app-doc/doxygen-1.3.9.1 )" + +BASE_DIR="${BASE_DIR:-/usr}" + +S="${WORKDIR}/yacs-${PV}" + +src_compile() { + use debug && append-flags -O0 -g3 + use debug || append-flags -DNDEBUG=1 + + useq multislot && [[ $BASE_DIR = "/usr" ]] && BASE_DIR="${BASE_DIR}/yacs/${SLOT}" + + einfo "Configuring for prefix ${BASE_DIR} ..." + + ./autogen.sh || die "autogen.sh failed" + + ./configure \ + --prefix="${BASE_DIR}" \ + --host="${CHOST}" \ + --libdir="${BASE_DIR}/$(get_libdir)" \ + --with-libyacsutil \ + --without-server \ + --without-libyacsclient \ + || die "./configure failed" + + cd support/yacsutil || die + + emake || die "make failed" + + if use doc; then + #ewarn "TODO: generate docs {html,man} via doxygen" + #make -C doc api-docs + # XXX: install example/test files? + true + fi +} + +src_install() { + pushd support/yacsutil || die + + make install DESTDIR="${D}" || die + + dodoc AUTHORS ChangeLog* NEWS README* TODO + + if use doc; then + #ewarn "TODO: install man-pages and html version via doxygen" + #dodoc -r doc/html + true + fi +} + +# vim:ai:noet:ts=4:nowrap |