wok annotate cdf/receipt @ rev 24111

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 17:26:43 2021 +0000 (2021-09-28)
parents eb8067417980
children 34e801e0eb52
rev   line source
paul@2906 1 # SliTaz package receipt.
paul@2906 2
paul@2906 3 PACKAGE="cdf"
paul@2906 4 VERSION="0.2"
paul@2906 5 CATEGORY="system-tools"
jozee@4933 6 SHORT_DESC="Colorized df (color schemes)."
paul@2906 7 MAINTAINER="paul@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
paul@2906 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20671 10 WEB_SITE="https://github.com/novel/cdf"
paul@2906 11 WGET_URL="http://download.berlios.de/bmp-plugins/$TARBALL"
jozee@4933 12 TAGS="color schemes"
paul@2906 13
pascal@15579 14 DEPENDS=""
pascal@15579 15
paul@2906 16 # Rules to configure and make the package.
paul@2906 17 compile_rules()
paul@2906 18 {
paul@2906 19 cd $src
paul@2906 20
paul@2906 21 # Fix typos
paul@2906 22 sed -i 's/filesyitems/filesystems/' src/main.c
paul@2906 23
paul@2906 24 ./configure \
paul@2906 25 --prefix=/usr \
paul@2906 26 --infodir=/usr/share/info \
paul@2906 27 --mandir=/usr/share/man \
paul@2906 28 $CONFIGURE_ARGS &&
pascal@15579 29 make && make DESTDIR=$DESTDIR install
paul@2906 30 }
paul@2906 31
paul@2906 32 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2906 33 genpkg_rules()
paul@2906 34 {
paul@2906 35 mkdir -p $fs/usr
pascal@15579 36 cp -a $install/usr/bin $fs/usr
paul@2906 37 }