summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-04-18 20:08:50 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-04-18 20:08:50 +0000
commit86844fea377fdfd97a54055e6f55b1f59fb86ef8 (patch)
tree962e9abdfb474ff9bd845765fb9bc9ffd471c15d /dev-libs/libxdg-basedir
parentVersion bump. (diff)
downloadgentoo-2-86844fea377fdfd97a54055e6f55b1f59fb86ef8.tar.gz
gentoo-2-86844fea377fdfd97a54055e6f55b1f59fb86ef8.tar.bz2
gentoo-2-86844fea377fdfd97a54055e6f55b1f59fb86ef8.zip
Version bump.
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libxdg-basedir')
-rw-r--r--dev-libs/libxdg-basedir/ChangeLog8
-rw-r--r--dev-libs/libxdg-basedir/libxdg-basedir-1.0.0.ebuild49
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-libs/libxdg-basedir/ChangeLog b/dev-libs/libxdg-basedir/ChangeLog
index 6d1837a508c0..113a7984a988 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-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxdg-basedir/ChangeLog,v 1.11 2009/04/14 01:06:12 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxdg-basedir/ChangeLog,v 1.12 2009/04/18 20:08:50 flameeyes Exp $
+
+*libxdg-basedir-1.0.0 (18 Apr 2009)
+
+ 18 Apr 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +libxdg-basedir-1.0.0.ebuild:
+ Version bump.
14 Apr 2009; Brent Baude <ranger@gentoo.org> libxdg-basedir-0.3.0.ebuild:
Marking libxdg-basedir-0.3.0 ~ppc64 for bug 265467
diff --git a/dev-libs/libxdg-basedir/libxdg-basedir-1.0.0.ebuild b/dev-libs/libxdg-basedir/libxdg-basedir-1.0.0.ebuild
new file mode 100644
index 000000000000..6eedc587467d
--- /dev/null
+++ b/dev-libs/libxdg-basedir/libxdg-basedir-1.0.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-1.0.0.ebuild,v 1.1 2009/04/18 20:08:50 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 ~ppc64 ~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 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
+}