wok-current annotate 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 |
rev | line source |
---|---|
pascal@19971 | 1 # SliTaz package receipt. |
pascal@19971 | 2 |
pascal@19971 | 3 PACKAGE="sloccount" |
pascal@19971 | 4 VERSION="2.26" |
pascal@19971 | 5 CATEGORY="development" |
pascal@19971 | 6 SHORT_DESC="Counting physical Source Lines of Code (SLOC)." |
pascal@19971 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19971 | 8 LICENSE="GPL2" |
pascal@19971 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19971 | 10 WEB_SITE="https://www.dwheeler.com/sloccount/" |
pascal@19971 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@19971 | 12 |
pascal@19971 | 13 DEPENDS="perl" |
pascal@19971 | 14 |
pascal@19971 | 15 # Rules to configure and make the package. |
pascal@19971 | 16 compile_rules() |
pascal@19971 | 17 { |
pascal@19971 | 18 mkdir -p $DESTDIR/usr/bin |
pascal@19971 | 19 make PREFIX=$DESTDIR/usr install |
pascal@19971 | 20 } |
pascal@19971 | 21 |
pascal@19971 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19971 | 23 genpkg_rules() |
pascal@19971 | 24 { |
pascal@19971 | 25 mkdir -p $fs/usr |
pascal@19971 | 26 cp -a $install/usr/bin $fs/usr |
pascal@19971 | 27 } |