app-misc/ccal - 2.5.3 (gentoo-zh)

Search

Package Information

Description:
A simple command line calendar for Chinese lunar
Homepage:
http://ccal.chinesebay.com/ccal/ccal.htm
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
2.5.3 7 amd64 ~arm ~arm64 ~mips x86 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

inherit toolchain-funcs

DESCRIPTION="A simple command line calendar for Chinese lunar"
HOMEPAGE="http://ccal.chinesebay.com/ccal/ccal.htm"
SRC_URI="http://ccal.chinesebay.com/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
IUSE="pdf"

RDEPEND="
	pdf? ( app-text/ghostscript-gpl )"

PATCHES=( "${FILESDIR}/${PN}-cflags.patch" )

src_prepare() {
	default
	sed -i "s/^CXX=.*$/CXX=$(tc-getCXX)/" Makefile || die
}

src_install() {
	use pdf && ( dobin ccalpdf; doman ccalpdf.1 )
	dobin ccal
	doman ccal.1
}

USE Flags

pdf

Dependencies

RDEPEND

	pdf? ( app-text/ghostscript-gpl )

Manifest for 2.5.3

Type File Size Source URLs
DIST ccal-2.5.3.tar.gz 127640 bytes http://ccal.chinesebay.com/ccal/ccal-2.5.3.tar.gz