wok-next rev 21558
updated cmatrix (1.2a -> 2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 22 14:20:30 2020 +0100 (2020-06-22) |
parents | 81c22da6eb2a |
children | a923f715f955 |
files | cmatrix/receipt |
line diff
1.1 --- a/cmatrix/receipt Mon Jun 22 14:08:07 2020 +0100 1.2 +++ b/cmatrix/receipt Mon Jun 22 14:20:30 2020 +0100 1.3 @@ -1,30 +1,33 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="cmatrix" 1.7 -VERSION="1.2a" 1.8 +VERSION="2.0" 1.9 CATEGORY="misc" 1.10 +TAGS="screensaver" 1.11 SHORT_DESC="Matrix screensaver" 1.12 MAINTAINER="paul@slitaz.org" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="https://www.asty.org/cmatrix" 1.15 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WGET_URL="http://www.asty.org/cmatrix/dist/$TARBALL" 1.18 +WGET_URL="https://github.com/abishekvashok/$PACKAGE/archive/v$VERSION.tar.gz" 1.19 1.20 -BUILD_DEPENDS="ncurses-dev" 1.21 +BUILD_DEPENDS="cmake ncurses-dev" 1.22 1.23 -compile_rules() { 1.24 - ./configure \ 1.25 - --prefix=/usr \ 1.26 - --infodir=/usr/share/info \ 1.27 - --mandir=/usr/share/man \ 1.28 - $CONFIGURE_ARGS && 1.29 +compile_rules() 1.30 +{ 1.31 + mkdir _build 1.32 + cd _build 1.33 + cmake .. \ 1.34 + -DCMAKE_INSTALL_PREFIX=/usr && 1.35 make && 1.36 make DESTDIR=$install install 1.37 } 1.38 1.39 -genpkg_rules() { 1.40 +genpkg_rules() 1.41 +{ 1.42 mkdir -p $fs/usr 1.43 - cp -a $install/usr/bin $fs/usr 1.44 + cp -a $install/usr/bin $fs/usr 1.45 + 1.46 DEPENDS="ncurses" 1.47 }