blob: ed3106000e40bfc9de3f7c6cb781c8b58a514c38 (
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
|
# 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.1 2002/08/01 03:14:35 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
patch -p0 < ${P}a-hack.patch
patch -p0 < ${P}a-glibc22.patch
patch -p0 < ${P}a-print.patch
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
mkdir -p ${D}/usr
make \
prefix=${D}/usr \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
install || die
}
|