ccal 升级到 2.5.3
2012 年 3 月 4 日,从 2.5.2 到 2.5.3 的改动:
- 融入了 NOVAS-C 软件包的最新改动。
- 将 size_t 改为int以避免某些 64 位系统的问题。
- 据林原志先生建议,在字符输出时在非 Windows 系统上当天日期用 ANSI 反色显示。
上 gentoo ebuild https://github.com/Ihavee/overlay/blob/master/app-misc/ccal
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License
# $Header: $
EAPI="1"
inherit eutils
DESCRIPTION="The ccal utility is a simple-to-use command line program which writes a Gregorian calendar together with Chinese calendar to standard output."
HOMEPAGE="http://ccal.chinesebay.com/ccal/ccal.htm"
LICENSE="GPL"
SLOT="0"
KEYWORDS="~amd64 ~x86 amd64 x86"
IUSE=""
SRC_URI="http://ccal.chinesebay.com/${PN}/${P}.tar.gz"
RESTRICT="mirror"
RDEPEND=""
DEPEND="${DEPEND}
sys-libs/glibc"
src_compile() {
emake || die "emake failed"
}
src_install() {
dobin ccal ccalpdf || die "dobin failed"
doman ccal.1 ccalpdf.1 || die "doman failed"
}