blob: f61d5c9816f498b0e05abd59604af6e6122848a0 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-emulation/winesetuptk/winesetuptk-0.6.0b-r2.ebuild,v 1.2 2002/07/11 06:30:13 drobbins Exp $
MY_P=${PN}_${PV}-1.tar.gz
PRE=tcltk-winesetuptk-0.6.0b
SEC=winesetuptk-0.6.0b
S=${WORKDIR}/${P}
DESCRIPTION="Setup tool for WiNE adapted from Codeweavers by Debian"
SRC_URI="http://ftp.debian.org/debian/pool/main/w/winesetuptk/${MY_P}"
HOMEPAGE="http://packages.debian.org/unstable/otherosfs/winesetuptk.html"
DEPEND="virtual/glibc
virtual/x11"
src_unpack() {
unpack ${MY_P}
cd ${S}
tar zxf ${PRE}.tar.gz
tar zxf ${SEC}.tar.gz
}
src_compile() {
cd ${S}/${PRE}
./build.sh
cd ${S}/${SEC}
local myconf
myconf="${myconf} --with-tcltk=${S}/${PRE}"
myconf="${myconf} --with-launcher=/usr/bin --with-exe=/usr/bin"
myconf="${myconf} --with-doc=/usr/share/doc/${P}"
./configure \
--prefix=/usr \
--sysconfdir=/etc/wine \
--host=${CHOST} \
--enable-curses \
${myconf} || die
emake || die
}
src_install () {
cd ${S}/${SEC}
make \
PREFIX_LAUNCHER=${D}/usr/bin \
PREFIX_EXE=${D}/usr/bin \
PREFIX_DOC=${D}/usr/share/doc/${P} \
install || die
}
|