summaryrefslogtreecommitdiff
blob: 10045bd2ccc2eb90d123a9c15b3548002982e574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2004 Gentoo Foundation, Doug Goldstein
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-base/y-windows/y-windows-0.2.ebuild,v 1.5 2004/07/15 00:44:50 agriffis Exp $

DESCRIPTION="Y Windows"
HOMEPAGE="http://www.y-windows.org/"
SRC_URI="http://www.cardoe.com/y-base/patches/Y-patch26.tar.bz2"
LICENSE="GPL-2 LGPL-2 CPL-1.0"
SLOT="0"

KEYWORDS="~x86 ~amd64 ~ppc"
IUSE=""

DEPEND="virtual/x11
	>=sys-devel/automake-1.8
	>=sys-devel/autoconf-2.58
	>=media-libs/libsdl-1.2.0
	>=media-libs/freetype-2.1.3
	=dev-libs/libsigc++-1.0*
	>=x11-libs/libiterm-mbt-0.5"

S=${WORKDIR}/Y--devel--0.2--patch-26

src_compile() {
	ewarn Please wait while ./autogen.sh runs... no output will appear.
	chmod u+x autogen.sh
	WANT_AUTOMAKE=1.8 ./autogen.sh

	econf || die "./configure failed"
	emake || die "make failed"
}

src_install() {
	einstall || die
}

pkg_postinst() {
	ewarn Please check /etc/Y/default.conf and change your keymap to "us" if you\'re in the US.
	echo
	ewarn Current apps are ycalculator, yiterm, yclock, and ysample.
	echo
	ewarn To start Y just run startY while in X.
}