|
Lines 1-4
Link Here
|
| 1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2006 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tint/tint-0.03a.ebuild,v 1.6 2005/12/23 11:07:41 nigoro Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tint/tint-0.03a.ebuild,v 1.6 2005/12/23 11:07:41 nigoro Exp $ |
| 4 |
|
4 |
|
|
Lines 7-13
Link Here
|
| 7 |
MY_P=${P/-/_} |
7 |
MY_P=${P/-/_} |
| 8 |
DESCRIPTION="Tint Is Not Tetris, a ncurses based clone of the original Tetris(tm) game" |
8 |
DESCRIPTION="Tint Is Not Tetris, a ncurses based clone of the original Tetris(tm) game" |
| 9 |
HOMEPAGE="http://oasis.frogfoot.net/code/tint/" |
9 |
HOMEPAGE="http://oasis.frogfoot.net/code/tint/" |
| 10 |
SRC_URI="http://oasis.frogfoot.net/code/tint/download/$PV/$MY_P.tar.gz" |
10 |
SRC_URI="http://oasis.frogfoot.net/code/tint/download/${PV}/${MY_P}.tar.gz" |
| 11 |
|
11 |
|
| 12 |
LICENSE="as-is" |
12 |
LICENSE="as-is" |
| 13 |
SLOT="0" |
13 |
SLOT="0" |
|
Lines 17-30
Link Here
|
| 17 |
DEPEND=">=sys-libs/ncurses-5.4-r1" |
17 |
DEPEND=">=sys-libs/ncurses-5.4-r1" |
| 18 |
|
18 |
|
| 19 |
src_unpack() { |
19 |
src_unpack() { |
| 20 |
unpack $A |
20 |
unpack ${A} |
| 21 |
cd "${S}" |
21 |
cd "${S}" |
| 22 |
epatch "${FILESDIR}/${PV}-warnings.patch" |
22 |
epatch "${FILESDIR}/${PV}-warnings.patch" |
|
|
23 |
sed -i '/STRIP/d' Makefile || die "sed failed" |
| 23 |
} |
24 |
} |
| 24 |
|
25 |
|
| 25 |
src_compile() { |
26 |
src_compile() { |
| 26 |
emake \ |
27 |
emake \ |
| 27 |
CFLAGS="${CFLAGS}" \ |
28 |
CFLAGS="${CFLAGS}" \ |
|
|
29 |
LDFLAGS="${LDFLAGS}" \ |
| 28 |
localstatedir="${GAMES_STATEDIR}" \ |
30 |
localstatedir="${GAMES_STATEDIR}" \ |
| 29 |
|| die "emake failed" |
31 |
|| die "emake failed" |
| 30 |
} |
32 |
} |