gentoo-full-overlay/x11-misc/xscreensaver-app/xscreensaver-app-2.3-r2.ebuild

44 lines
941 B
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver-app/xscreensaver-app-2.3-r2.ebuild,v 1.2 2014/08/10 20:05:12 slyfox Exp $
EAPI=5
inherit autotools eutils toolchain-funcs
MY_PN=${PN/-a/.A}
MY_PN=${MY_PN/xs/XS}
MY_PN=${MY_PN/s/S}
DESCRIPTION="XScreenSaver dockapp for the Window Maker window manager"
HOMEPAGE="http://xscreensaverapp.sourceforge.net/"
SRC_URI="mirror://sourceforge/project/xscreensaverapp/${MY_PN}/${PV}/${MY_PN}-${PV}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
CDEPEND="
x11-libs/libdockapp
x11-libs/libX11
"
DEPEND="
${CDEPEND}
x11-proto/xproto
"
RDEPEND="
${CDEPEND}
x11-misc/xscreensaver
"
S=${WORKDIR}/${MY_PN}-${PV}
src_prepare() {
epatch "${FILESDIR}"/${P}-underlinking.patch
eautoreconf
}
src_install() {
dobin ${MY_PN}
dodoc README NEWS ChangeLog TODO AUTHORS
}