You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/xosview/xosview-1.8.3-r1.ebuild

43 lines
1.0 KiB

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/xosview-1.8.3-r1.ebuild,v 1.2 2011/08/16 06:15:27 slyfox Exp $
inherit eutils
DESCRIPTION="X11 operating system viewer"
HOMEPAGE="http://xosview.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2 BSD"
SLOT="0"
KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
IUSE=""
COMMON_DEPS="x11-libs/libX11
x11-libs/libXpm
x11-libs/libXt"
RDEPEND="${COMMON_DEPS}
media-fonts/font-misc-misc"
DEPEND="${COMMON_DEPS}
x11-proto/xproto"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/xosview-emptyxpaths.patch
epatch "${FILESDIR}"/xosview-resdir.patch
epatch "${FILESDIR}"/${P}-remove-serialmeter.patch
epatch "${FILESDIR}"/${P}-gcc44.patch
epatch "${FILESDIR}"/${P}-alpha-build-fix.patch
}
src_install() {
exeinto /usr/bin
doexe xosview
insinto /usr/share/X11/app-defaults
newins Xdefaults XOsview
doman *.1
dodoc CHANGES README README.linux TODO
}