summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-04-08 17:15:57 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-04-08 17:15:57 +0000
commit67e1a0921ce0c691a9b064bca41a91fc99f3cb3b (patch)
treec82b7f8e1d7628330b17eeedda3480b4b10b76a5 /dev-libs/libxdg-basedir
parentStable on alpha, bug #265342 (diff)
downloadgentoo-2-67e1a0921ce0c691a9b064bca41a91fc99f3cb3b.tar.gz
gentoo-2-67e1a0921ce0c691a9b064bca41a91fc99f3cb3b.tar.bz2
gentoo-2-67e1a0921ce0c691a9b064bca41a91fc99f3cb3b.zip
Version bump, thanks to matsuu in bug #265467.
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libxdg-basedir')
-rw-r--r--dev-libs/libxdg-basedir/ChangeLog10
-rw-r--r--dev-libs/libxdg-basedir/libxdg-basedir-0.3.0.ebuild49
2 files changed, 57 insertions, 2 deletions
diff --git a/dev-libs/libxdg-basedir/ChangeLog b/dev-libs/libxdg-basedir/ChangeLog
index 6f4ee65459b0..2032423034b4 100644
--- a/dev-libs/libxdg-basedir/ChangeLog
+++ b/dev-libs/libxdg-basedir/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libxdg-basedir
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxdg-basedir/ChangeLog,v 1.8 2008/11/13 02:05:07 flameeyes Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxdg-basedir/ChangeLog,v 1.9 2009/04/08 17:15:57 flameeyes Exp $
+
+*libxdg-basedir-0.3.0 (08 Apr 2009)
+
+ 08 Apr 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +libxdg-basedir-0.3.0.ebuild:
+ Version bump, thanks to matsuu in bug #265467.
*libxdg-basedir-0.2.0 (13 Nov 2008)
diff --git a/dev-libs/libxdg-basedir/libxdg-basedir-0.3.0.ebuild b/dev-libs/libxdg-basedir/libxdg-basedir-0.3.0.ebuild
new file mode 100644
index 000000000000..d162e893db0c
--- /dev/null
+++ b/dev-libs/libxdg-basedir/libxdg-basedir-0.3.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxdg-basedir/libxdg-basedir-0.3.0.ebuild,v 1.1 2009/04/08 17:15:57 flameeyes Exp $
+
+inherit libtool
+
+DESCRIPTION="Small library to access XDG Base Directories Specification paths"
+HOMEPAGE="http://n.ethz.ch/student/nevillm/download/libxdg-basedir/"
+SRC_URI="http://n.ethz.ch/student/nevillm/download/libxdg-basedir/${P}.tar.gz"
+
+IUSE="doc"
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+
+RDEPEND=""
+DEPEND="doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ elibtoolize
+}
+
+src_compile() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable doc doxygen-html) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+
+ if use doc; then
+ emake doxygen-doc || die "emake doxygen-doc failed"
+ fi
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
+
+ if use doc; then
+ dohtml -r doc/html/*
+ fi
+
+ # Remove libtool archives, as the package has no dependencies,
+ # and should be used with pkg-config properly.
+ find "${D}" -name '*.la' -delete
+}