Lines 2-13
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/gcal-3.01-r3.ebuild,v 1.7 2009/04/14 09:55:30 armin76 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/gcal-3.01-r3.ebuild,v 1.7 2009/04/14 09:55:30 armin76 Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="2" |
6 |
|
5 |
inherit eutils flag-o-matic toolchain-funcs |
7 |
inherit eutils flag-o-matic toolchain-funcs |
6 |
|
8 |
|
7 |
DESCRIPTION="The GNU Calendar - a replacement for cal" |
9 |
DESCRIPTION="The GNU Calendar - a replacement for cal" |
8 |
HOMEPAGE="http://www.gnu.org/software/gcal/gcal.html" |
10 |
HOMEPAGE="http://www.gnu.org/software/gcal/gcal.html" |
9 |
SRC_URI="mirror://gnu/gcal/${P}.tar.gz |
11 |
SRC_URI="mirror://gnu/gcal/${P}.tar.gz" |
10 |
mirror://gentoo/${P}-iso3166.patch.gz" |
|
|
11 |
|
12 |
|
12 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
13 |
SLOT="0" |
14 |
SLOT="0" |
Lines 17-44
Link Here
|
17 |
DEPEND="nls? ( >=sys-devel/gettext-0.17 )" |
18 |
DEPEND="nls? ( >=sys-devel/gettext-0.17 )" |
18 |
RDEPEND="" |
19 |
RDEPEND="" |
19 |
|
20 |
|
20 |
src_unpack() { |
21 |
src_configure() { |
21 |
unpack ${A} |
|
|
22 |
cd "${S}" |
23 |
|
24 |
epatch "${FILESDIR}"/${P}-mandir.diff |
25 |
epatch "${FILESDIR}"/${P}-gettext-charset.patch |
26 |
epatch "${WORKDIR}"/${P}-iso3166.patch |
27 |
} |
28 |
|
29 |
src_compile() { |
30 |
tc-export CC |
22 |
tc-export CC |
31 |
append-flags -D_GNU_SOURCE |
23 |
append-flags -D_GNU_SOURCE |
32 |
econf $(use_enable nls) $(use_enable ncurses) |
24 |
econf $(use_enable nls) $(use_enable ncurses) |
33 |
emake || die |
|
|
34 |
} |
25 |
} |
35 |
|
26 |
|
36 |
src_install() { |
27 |
src_install() { |
37 |
einstall || die |
28 |
einstall || die |
38 |
rm -f "${D}"/usr/share/locale/locale.alias |
29 |
rm -f "${D}"/usr/share/locale/locale.alias |
39 |
|
30 |
|
40 |
dodoc ATTENTION BUGS DISCLAIM HISTORY LIMITATIONS MANIFEST NEWS README \ |
31 |
dodoc NEWS README THANKS TODO |
41 |
SYMBOLS THANKS TODO |
|
|
42 |
|
32 |
|
43 |
# Need to fix up paths for scripts in misc directory |
33 |
# Need to fix up paths for scripts in misc directory |
44 |
# that are automatically created by the makefile |
34 |
# that are automatically created by the makefile |