summaryrefslogtreecommitdiff
blob: 3efca05e067786e5bf5b0629cd88c6a4c9f1a4a6 (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
# $

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
	sys-libs/readline"

src_unpack() {
	unpack ${P}.tgz
	cd ${S}
	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"
}