24 lines
644 B
Text
24 lines
644 B
Text
# Template build file for 'sloccount'
|
|
pkgname=sloccount
|
|
version=2.26
|
|
revision=1
|
|
hostmakedepends="flex"
|
|
depends="perl"
|
|
short_desc="Tool to count physical source lines of code in many languages"
|
|
maintainer="pancake <pancake@nopcode.org>"
|
|
license="GPL-2"
|
|
homepage="http://www.dwheeler.com/sloccount/"
|
|
distfiles="$homepage/$pkgname-$version.tar.gz"
|
|
checksum=fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b
|
|
|
|
do_build() {
|
|
make
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/bin
|
|
make PREFIX=${DESTDIR}/usr install
|
|
mv ${DESTDIR}/usr/share/doc/sloccount-2.26-1 \
|
|
${DESTDIR}/usr/share/doc/sloccount
|
|
chmod 644 ${DESTDIR}/usr/share/doc/sloccount/*
|
|
}
|