wok view sloccount/receipt @ rev 25641
Fix miss gogglesmm app icon for menu
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Jan 07 10:30:54 2024 +0100 (10 months ago) |
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 }