wok-6.x view cmatrix/receipt @ rev 24762

avfs: copy mountavfs and umountavfs with proper permissions
author Hans-G?nter Theisgen
date Fri Mar 18 15:07:58 2022 +0100 (2022-03-18)
parents a89966b4677d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cmatrix"
4 VERSION="2.0"
5 CATEGORY="misc"
6 SHORT_DESC="Matrix screensaver."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.asty.org/cmatrix/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/abishekvashok/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="cmake ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # 1.2a
28 # export LDFLAGS="$LDFLAGS -ltinfo"
30 mkdir _build &&
31 cd _build &&
32 cmake .. \
33 -D CMAKE_INSTALL_PREFIX=/usr &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 }