blob: 167b8a8a8295a63cd7369bf5cc8a01a4b847fcbf (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/ical/ical-2.2.1.ebuild,v 1.2 2002/08/03 17:49:48 chadh Exp $
DESCRIPTION="Calendar program"
HOMEPAGE="http://www.fnal.gov/docs/products/tktools/ical.html"
SRC_URI="http://helios.dii.utk.edu/ftp/pub/tcl/apps/ical/${P}a.tar.bz2
http://www.ibiblio.org/gentoo/distfiles/${P}a.patch.tar.bz2"
LICENSE="as-is GPL-2"
SLOT="0"
KEYWORDS="x86"
DEPEND="dev-lang/tcl dev-lang/tk sys-devel/autoconf"
RDEPEND="dev-lang/tcl dev-lang/tk"
S=${WORKDIR}/${P}a
src_unpack() {
unpack ${A}
cd ${WORKDIR}
patch -p0 < ${P}a-newtcl.patch || die
patch -p0 < ${P}a-hack.patch || die
patch -p0 < ${P}a-glibc22.patch || die
patch -p0 < ${P}a-print.patch || die
D=${S}/ dosed "s: \@TCL_LIBS\@::" Makefile.in
D=${S}/ dosed "s:mkdir:mkdir -p:" Makefile.in
}
src_compile() {
autoconf
econf
emake || die
}
src_install () {
#make DESTDIR=${D} install || die
make \
prefix=${D}/usr \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
install || die
}
|