summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-11-13 16:06:36 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-11-13 16:06:36 +0000
commit91f7329b31fe08fd7a59fd2accbd303b11ed83ea (patch)
tree233362678d7588e776e92d474d6f451c9962f427 /app-text/notecase/notecase-1.7.2.ebuild
parentStable for HPPA (bug #198664). (diff)
downloadhistorical-91f7329b31fe08fd7a59fd2accbd303b11ed83ea.tar.gz
historical-91f7329b31fe08fd7a59fd2accbd303b11ed83ea.tar.bz2
historical-91f7329b31fe08fd7a59fd2accbd303b11ed83ea.zip
Version bump
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'app-text/notecase/notecase-1.7.2.ebuild')
-rw-r--r--app-text/notecase/notecase-1.7.2.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/app-text/notecase/notecase-1.7.2.ebuild b/app-text/notecase/notecase-1.7.2.ebuild
new file mode 100644
index 000000000000..e5e647120178
--- /dev/null
+++ b/app-text/notecase/notecase-1.7.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/notecase-1.7.2.ebuild,v 1.1 2007/11/13 16:06:36 armin76 Exp $
+
+inherit eutils fdo-mime
+
+DESCRIPTION="Hierarchical note manager written using GTK+ and C++"
+HOMEPAGE="http://notecase.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}_src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome"
+
+RDEPEND=">=x11-libs/gtk+-2.6"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+# test doesn't work
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Respect CFLAGS and don't use --as-needed by default
+ epatch "${FILESDIR}/notecase-1.7.2-CFLAGS.patch"
+
+ if ! use gnome; then
+ # Comment variable in the Makefile if we don't have gnome
+ sed -i -e 's/HAVE_GNOME_VFS=1/#HAVE_GNOME_VFS=1/g' \
+ -e 's/AUTODETECT_GNOME_VFS=1/#AUTODETECT_GNOME_VFS=1/g' \
+ Makefile || die "gnome sed failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc readme.txt
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}