summaryrefslogtreecommitdiff
blob: 32cc248ba533d8f5dad512f02f8210da6902e370 (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
IUSE=""
DESCRIPTION="A code counter for C and C++."
MY_PV="${PV/0_}"
S="${WORKDIR}/${PN}-${MY_PV}"
SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
HOMEPAGE="http://cccc.sourceforge.net/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
DEPEND=""

src_compile() {
    cd ${S}
    make pccts cccc test
}

src_install () {
    cd install
    mkdir ${D}/usr
    make -f install.mak INSTDIR="${D}/usr/bin"	
    cd ${S}
    dodoc readme.txt changes.txt
}