wok view sloccount/receipt @ rev 24706
updated lcms2, lcms2-apps and lcms2-dev (2.10 -> 2.13.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 15:57:04 2022 +0100 (2022-03-14) |
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 }