wok view sloccount/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | |
children | 7c0170dd3ecc |
line source
1 # SliTaz package receipt.
3 PACKAGE="sloccount"
4 VERSION="2.26"
5 CATEGORY="development"
6 SHORT_DESC="Counting physical Source Lines of Code (SLOC)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.dwheeler.com/sloccount/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="perl"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir -p $DESTDIR/usr/bin
19 make PREFIX=$DESTDIR/usr install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $install/usr/bin $fs/usr
27 }