wok-next rev 19849

Fix packaging: lcms, libtool; up slitaz-tools-*; add mathomatic.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 28 19:54:13 2017 +0300 (2017-08-28)
parents 70ab89b1aac2
children 2e9df1b30cc2
files lcms/receipt libtool/receipt mathomatic/description.txt mathomatic/receipt mathomatic/stuff/mathomatic16.png mathomatic/stuff/mathomatic48.png slitaz-tools-boxes/receipt slitaz-tools/receipt tazdrop/receipt
line diff
     1.1 --- a/lcms/receipt	Sun Aug 27 15:34:42 2017 +0300
     1.2 +++ b/lcms/receipt	Mon Aug 28 19:54:13 2017 +0300
     1.3 @@ -28,7 +28,7 @@
     1.4  {
     1.5  	case $PACKAGE in
     1.6  		lcms)
     1.7 -			copy *.so
     1.8 +			copy *.so*
     1.9  			;;
    1.10  		lcms-apps)
    1.11  			copy bin/
     2.1 --- a/libtool/receipt	Sun Aug 27 15:34:42 2017 +0300
     2.2 +++ b/libtool/receipt	Mon Aug 28 19:54:13 2017 +0300
     2.3 @@ -33,6 +33,7 @@
     2.4  		libltdl)
     2.5  			copy *.so*
     2.6  			CAT="system-tools|library"
     2.7 +			DEPENDS=" "
     2.8  			;;
     2.9  	esac
    2.10  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/mathomatic/description.txt	Mon Aug 28 19:54:13 2017 +0300
     3.3 @@ -0,0 +1,27 @@
     3.4 +Mathomaticâ„¢ is a free and open source command-line computer algebra system (CAS)
     3.5 +for doing floating point calculations and symbolic mathematics. It can
     3.6 +automatically solve, simplify, combine, and compare algebraic equations, do some
     3.7 +calculus, etc.
     3.8 +
     3.9 +```
    3.10 +1-> x^2 + 4x - 21 = 0
    3.11 +
    3.12 +#1: x^2 + (4*x) - 21 = 0
    3.13 +
    3.14 +1-> solve x
    3.15 +Equation is a degree 2 polynomial equation in x.
    3.16 +Equation was solved with the quadratic formula.
    3.17 +Solve successful:
    3.18 +
    3.19 +#1: x = -(2 + (5*sign))
    3.20 +
    3.21 +1-> calculate
    3.22 +There are 2 solutions.
    3.23 +
    3.24 +Solution number 1 with sign = 1:
    3.25 + x = -7
    3.26 +
    3.27 +Solution number 2 with sign = -1:
    3.28 + x = 3
    3.29 +1-> 
    3.30 +```
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/mathomatic/receipt	Mon Aug 28 19:54:13 2017 +0300
     4.3 @@ -0,0 +1,59 @@
     4.4 +# SliTaz package receipt v2.
     4.5 +
     4.6 +PACKAGE="mathomatic"
     4.7 +VERSION="5232982"
     4.8 +CATEGORY="math"
     4.9 +SHORT_DESC="Portable, command-line, educational CAS and calculator software"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="LGPL2.1"
    4.12 +WEB_SITE="https://en.wikipedia.org/wiki/Mathomatic"
    4.13 +
    4.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.15 +WGET_URL="https://github.com/rubicks/mathomatic/archive/$VERSION.tar.gz"
    4.16 +
    4.17 +BUILD_DEPENDS="automake libtool readline-dev"
    4.18 +SPLIT="mathomatic-optional mathomatic"
    4.19 +
    4.20 +# Rules to configure and make the package.
    4.21 +compile_rules()
    4.22 +{
    4.23 +	autoreconf -fi &&
    4.24 +
    4.25 +	./configure $CONFIGURE_ARGS && make && make install || return 1
    4.26 +
    4.27 +	install -m0755 primes/matho-mult primes/matho-sum primes/primorial \
    4.28 +		$install/usr/bin
    4.29 +
    4.30 +	docdir="$install/usr/share/doc/mathomatic-16.0.5"
    4.31 +	mkdir -p $docdir
    4.32 +	cp doc/* $docdir
    4.33 +
    4.34 +	appdir="$install/usr/share/applications"
    4.35 +	mkdir -p $appdir
    4.36 +	cp icons/*.desktop $appdir
    4.37 +
    4.38 +	icodir="$install/usr/share/icons/hicolor"
    4.39 +	for i in 16 48; do
    4.40 +		mkdir -p "$icodir/${i}x$i/apps"
    4.41 +		cp "$stuff/mathomatic$i.png" "$icodir/${i}x$i/apps/mathomatic.png"
    4.42 +	done
    4.43 +
    4.44 +	cook_pick_manpages mathomatic.1 lib/*.3 primes/*.1
    4.45 +}
    4.46 +
    4.47 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.48 +genpkg_rules()
    4.49 +{
    4.50 +	case $PACKAGE in
    4.51 +		mathomatic-optional)
    4.52 +			copy bin/matho-* primorial
    4.53 +			CAT="math|additional utilities"
    4.54 +			DEPENDS="mathomatic python"
    4.55 +			;;
    4.56 +		mathomatic)
    4.57 +			copy @std
    4.58 +			remove_already_packed
    4.59 +			DEPENDS="ncurses readline"
    4.60 +			;;
    4.61 +	esac
    4.62 +}
     5.1 Binary file mathomatic/stuff/mathomatic16.png has changed
     6.1 Binary file mathomatic/stuff/mathomatic48.png has changed
     7.1 --- a/slitaz-tools-boxes/receipt	Sun Aug 27 15:34:42 2017 +0300
     7.2 +++ b/slitaz-tools-boxes/receipt	Mon Aug 28 19:54:13 2017 +0300
     7.3 @@ -1,7 +1,7 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="slitaz-tools-boxes"
     7.7 -VERSION="1021"
     7.8 +VERSION="1022"
     7.9  CATEGORY="system-tools"
    7.10  SHORT_DESC="All SliTaz GTK/Yad boxes to command line tools."
    7.11  MAINTAINER="pankso@slitaz.org"
     8.1 --- a/slitaz-tools/receipt	Sun Aug 27 15:34:42 2017 +0300
     8.2 +++ b/slitaz-tools/receipt	Mon Aug 28 19:54:13 2017 +0300
     8.3 @@ -1,7 +1,7 @@
     8.4  # SliTaz package receipt.
     8.5  
     8.6  PACKAGE="slitaz-tools"
     8.7 -VERSION="1021"
     8.8 +VERSION="1022"
     8.9  CATEGORY="system-tools"
    8.10  SHORT_DESC="SliTaz tools provide installer and utils usable on terminal."
    8.11  MAINTAINER="pankso@slitaz.org"
     9.1 --- a/tazdrop/receipt	Sun Aug 27 15:34:42 2017 +0300
     9.2 +++ b/tazdrop/receipt	Mon Aug 28 19:54:13 2017 +0300
     9.3 @@ -1,7 +1,7 @@
     9.4  # SliTaz package receipt.
     9.5  
     9.6  PACKAGE="tazdrop"
     9.7 -VERSION="1009"
     9.8 +VERSION="1022"
     9.9  CATEGORY="office"
    9.10  SHORT_DESC="SliTaz desktop Drag N' Drop tool"
    9.11  MAINTAINER="pankso@slitaz.org"