wok annotate cmatrix/receipt @ rev 24411

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 09 17:57:59 2022 +0000 (2022-02-09)
parents 17e313b5b9c1
children a89966b4677d
rev   line source
paul@5285 1 # SliTaz package receipt.
paul@5285 2
paul@5285 3 PACKAGE="cmatrix"
paul@5285 4 VERSION="1.2a"
paul@5285 5 CATEGORY="misc"
paul@5285 6 SHORT_DESC="Matrix screensaver."
paul@5285 7 MAINTAINER="paul@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
paul@5285 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21954 10 WEB_SITE="https://www.asty.org/cmatrix/"
pascal@21954 11 WGET_URL="https://www.asty.org/cmatrix/dist/$TARBALL"
paul@5285 12
pascal@15579 13 DEPENDS="ncurses"
pascal@15579 14 BUILD_DEPENDS="ncurses-dev"
pascal@15579 15
paul@5285 16 # Rules to configure and make the package.
paul@5285 17 compile_rules()
paul@5285 18 {
pascal@17670 19 export LDFLAGS="$LDFLAGS -ltinfo"
paul@5285 20 ./configure \
paul@5285 21 --prefix=/usr \
paul@5285 22 --infodir=/usr/share/info \
paul@5285 23 --mandir=/usr/share/man \
paul@5285 24 $CONFIGURE_ARGS &&
pascal@15579 25 make && make DESTDIR=$DESTDIR install
paul@5285 26 }
paul@5285 27
paul@5285 28 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@5285 29 genpkg_rules()
paul@5285 30 {
paul@5285 31 mkdir -p $fs/usr
pascal@15579 32 cp -a $install/usr/bin $fs/usr
paul@5285 33 }