1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION
="Chinese Lunar Library"
8 HOMEPAGE
="http://github.com/yetist/lunar-date"
9 SRC_URI
="http://github.com/yetist/lunar-date/archive/v${PV}.tar.gz -> ${P}.tar.gz"
17 python? ( >=dev-python/pygobject-2.11.5 )"
22 >=dev-util/intltool-0.35
23 doc? ( dev-util/gtk-doc )
24 >=app-text/gnome-doc-utils-0.3.2"
26 DOCS
="AUTHORS ChangeLog NEWS README"
30 .
/autogen.sh || die
"autoconf failed"
34 econf $
(use_enable python
) $
(use_enable doc
) || die
"compile failed"
42 emake DESTDIR
="${D}" install || die
"make install failed"