wok-6.x view sloccount/receipt @ rev 24962
updated ndiswrapper packages (1.62 -> 1.63)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 24 07:20:09 2022 +0100 (2022-04-24) |
parents | cb817f2b4406 |
children |
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://dwheeler.com/sloccount/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="perl"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/latest/!d;s|.*version ||;s| .*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir -p $DESTDIR/usr/bin
26 make PREFIX=$DESTDIR/usr install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }