From 0546a7a39aab8b9a2f3ef1e3a14520c6b61dc3d5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 14 Jan 2013 18:35:57 +0100 Subject: [PATCH] New package: sloccount-2.26; proxy-commit by pancake. --- srcpkgs/sloccount/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/sloccount/template diff --git a/srcpkgs/sloccount/template b/srcpkgs/sloccount/template new file mode 100644 index 0000000000..3d8bc55a9b --- /dev/null +++ b/srcpkgs/sloccount/template @@ -0,0 +1,24 @@ +# Template build file for 'sloccount' +pkgname=sloccount +version=2.26 +revision=1 +makedepends="flex" +depends="perl" +short_desc="Tool to count physical source lines of code in many languages" +maintainer="pancake " +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/* +}