2013-01-14 17:35:57 +00:00
|
|
|
# Template build file for 'sloccount'
|
|
|
|
pkgname=sloccount
|
|
|
|
version=2.26
|
2014-06-04 23:14:53 +00:00
|
|
|
revision=2
|
|
|
|
build_style=gnu-makefile
|
2013-04-14 10:31:59 +00:00
|
|
|
hostmakedepends="flex"
|
2014-06-04 23:14:53 +00:00
|
|
|
makedepends="perl"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="perl"
|
2013-01-14 17:35:57 +00:00
|
|
|
short_desc="Tool to count physical source lines of code in many languages"
|
2014-06-04 23:14:53 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-14 17:35:57 +00:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.dwheeler.com/sloccount/"
|
|
|
|
distfiles="$homepage/$pkgname-$version.tar.gz"
|
|
|
|
checksum=fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/bin
|
|
|
|
make PREFIX=${DESTDIR}/usr install
|
2014-06-04 23:14:53 +00:00
|
|
|
mv ${DESTDIR}/usr/share/doc/${pkgname}-${version}-1 ${DESTDIR}/usr/share/doc/${pkgname}
|
|
|
|
chmod 644 ${DESTDIR}/usr/share/doc/${pkgname}/*
|
2013-01-14 17:35:57 +00:00
|
|
|
}
|