wok-current view sloccount/receipt @ rev 20235
busybox: add arch (uname -m alias)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 05 15:52:59 2018 +0100 (2018-03-05) |
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 }