summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad A Simmons (CCIEChad) <chad.simmons@member.fsf.org>2008-09-18 18:30:55 +0000
committerChad A Simmons (CCIEChad) <chad.simmons@member.fsf.org>2008-09-18 18:30:55 +0000
commit86ae9d6d684e1dc7821fab5b1f2c7d39b6e7e185 (patch)
tree5fccf3c72bd41d9354bd0382145b7358ca798914 /media-gfx/pho/pho-0.9.5.1.ebuild
parentnet-libs/NativeThread: Add seperate bug number to ChangeLog (diff)
downloadsunrise-86ae9d6d684e1dc7821fab5b1f2c7d39b6e7e185.tar.gz
sunrise-86ae9d6d684e1dc7821fab5b1f2c7d39b6e7e185.tar.bz2
sunrise-86ae9d6d684e1dc7821fab5b1f2c7d39b6e7e185.zip
media-gfx/pho: New ebuild for bug 238032. Thanks to dzhus and Tommy
svn path=/sunrise/; revision=7120
Diffstat (limited to 'media-gfx/pho/pho-0.9.5.1.ebuild')
-rw-r--r--media-gfx/pho/pho-0.9.5.1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-gfx/pho/pho-0.9.5.1.ebuild b/media-gfx/pho/pho-0.9.5.1.ebuild
new file mode 100644
index 000000000..f5cfbc1fd
--- /dev/null
+++ b/media-gfx/pho/pho-0.9.5.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="GTK image viewer"
+HOMEPAGE="http://shallowsky.com/software/pho/"
+SRC_URI="http://shallowsky.com/software/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64"
+DEPEND="dev-util/pkgconfig
+ x11-libs/gtk+"
+RDEPEND="x11-libs/gtk+"
+IUSE=""
+
+src_unpack() {
+unpack ${A}
+cd "${S}"
+sed -i -e "s:-g -O -Wall:${CFLAGS}:" Makefile || die "sed fix of cflags failed"
+sed -i -e "s:-Wall -g -O2:${CFLAGS}:" exif/Makefile || die "sed fix of cflags2 failed"
+}
+
+src_install() {
+ dobin pho || die "Install of pho binary failed"
+ doman pho.1
+}