summaryrefslogtreecommitdiff
blob: b94bbd55a86afdf71c1d3b4b3264fafce996e9fd (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/pal/pal-0.2.5.ebuild,v 1.3 2003/11/12 18:40:52 port001 Exp $

IUSE=""
DESCRIPTION="pal command-line calendar program"
SRC_URI="http://scott.kuhlweb.com/compu/pal/${P}.tgz"
HOMEPAGE="http://scott.kuhlweb.com/compu/pal/index.html"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

S="${WORKDIR}/${P}/src"

DEPEND=">=dev-libs/glib-2.0
	sys-devel/gettext
	virtual/glibc"

src_unpack() {
	unpack ${P}.tgz
	cd ${S}
	sed -i -e "s/^include/-include/" Makefile
	sed -i -e "s/-O2 -Wall/${CFLAGS}/" Makefile
}

src_compile() {
	emake || die "emake failed"
}

src_install() {
	make DESTDIR=${D} install-no-rm || die "Install failed"
}