wok-6.x rev 19971
Add sloccount
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 05 17:43:22 2017 +0200 (2017-06-05) |
parents | d5caa5733d9e |
children | c54b7b8dbd2c |
files | sloccount/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sloccount/receipt Mon Jun 05 17:43:22 2017 +0200 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="sloccount" 1.7 +VERSION="2.26" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Counting physical Source Lines of Code (SLOC)." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://www.dwheeler.com/sloccount/" 1.14 +WGET_URL="${WEB_SITE}$TARBALL" 1.15 + 1.16 +DEPENDS="perl" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + mkdir -p $DESTDIR/usr/bin 1.22 + make PREFIX=$DESTDIR/usr install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr 1.29 + cp -a $install/usr/bin $fs/usr 1.30 +}