summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/girara/ChangeLog7
-rw-r--r--dev-libs/girara/girara-0.1.3.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-libs/girara/ChangeLog b/dev-libs/girara/ChangeLog
index dc572e62dbc6..7e48e5a4b702 100644
--- a/dev-libs/girara/ChangeLog
+++ b/dev-libs/girara/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/girara
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/girara/ChangeLog,v 1.9 2012/06/15 11:02:40 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/girara/ChangeLog,v 1.10 2012/06/15 11:35:19 ssuominen Exp $
+
+*girara-0.1.3 (15 Jun 2012)
+
+ 15 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> +girara-0.1.3.ebuild:
+ Version bump.
15 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> -girara-0.1.1.ebuild:
old
diff --git a/dev-libs/girara/girara-0.1.3.ebuild b/dev-libs/girara/girara-0.1.3.ebuild
new file mode 100644
index 000000000000..98399fa01d96
--- /dev/null
+++ b/dev-libs/girara/girara-0.1.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/girara/girara-0.1.3.ebuild,v 1.1 2012/06/15 11:35:19 ssuominen Exp $
+
+EAPI=4
+inherit multilib toolchain-funcs
+
+DESCRIPTION="A library that implements a user interface that focuses on simplicity and minimalism"
+HOMEPAGE="http://pwmt.org/projects/girara/"
+SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND=">=x11-libs/gtk+-2.18.6:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+pkg_setup() {
+ mygiraraconf=(
+ LIBDIR='${PREFIX}'/$(get_libdir)
+ GIRARA_GTK_VERSION=2
+ CC="$(tc-getCC)"
+ SFLAGS=""
+ VERBOSE=1
+ DESTDIR="${D}"
+ )
+}
+
+src_prepare() {
+ # http://bt.pwmt.org/view.php?id=223
+ if ! use static-libs; then
+ sed -i \
+ -e 's|${PROJECT}: lib${PROJECT}.a|${PROJECT}:|' \
+ -e '/install.*lib${PROJECT}.a/d' \
+ Makefile || die
+ fi
+}
+
+src_compile() {
+ emake "${mygiraraconf[@]}"
+}
+
+src_install() {
+ emake "${mygiraraconf[@]}" install
+ dodoc AUTHORS
+}