wok rev 24920

updated mp (5.2.10 -> 5.58)
author Hans-G?nter Theisgen
date Sun Apr 10 07:48:27 2022 +0100 (2022-04-10)
parents 7c04901ef470
children 599ac1affa58
files mp/description.txt mp/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mp/description.txt	Sun Apr 10 07:48:27 2022 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +A text editor for programmers including the following features:
     1.5 +
     1.6 +Fully scriptable using a C-like scripting language.
     1.7 +Unlimited undo levels.
     1.8 +Complete Unicode support.
     1.9 +Multiple files can be edited at the same time and blocks copied
    1.10 +  and pasted among them.
    1.11 +Syntax highlighting for many popular languages and file formats:
    1.12 +  C, C++, Perl, Shell Scripts, Ruby, Php, Python, HTML...
    1.13 +Creative use of tags: tags created by the external utility ctags
    1.14 +  are used to move instantaneously to functions or variables
    1.15 +  inside your current source tree. Tags are visually highlighted
    1.16 +  (underlined), and symbol completion can be triggered to avoid
    1.17 +  typing your own function names over and over.
    1.18 +Intelligent help system: pressing F1 over any word of a text
    1.19 +  being edited triggers the underlying system help (calling man
    1.20 +  when editing C or Shell files, perldoc with Perl, ri on Ruby...).
    1.21 +Understandable interface: drop-down menus, reasonable default
    1.22 +  key bindings.
    1.23 +Configurable keys, menus and colors.
    1.24 +Text templates can be easily defined and accessed.
    1.25 +Multiplatform: Unix/Linux ANSI and Curses, Qt4/Qt5, GTK+, KDE4,
    1.26 +  MS Windows (both windowed and console).
    1.27 +Automatic indentation, word wrapping, internal grep, learning and
    1.28 +  repeating functions.
    1.29 +Spellchecking support (via the ispell package).
    1.30 +Multilingual.
    1.31 +Password-protected, encrypted text files (using the ARCFOUR
    1.32 +  algorithm).
    1.33 +It helps you abandon vi, emacs and other six-legged freaks
    1.34 +  definitely.
     2.1 --- a/mp/receipt	Sun Apr 10 07:17:22 2022 +0100
     2.2 +++ b/mp/receipt	Sun Apr 10 07:48:27 2022 +0100
     2.3 @@ -1,15 +1,16 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="mp"
     2.7 -VERSION="5.2.10"
     2.8 +VERSION="5.58"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="A text editor for programmers"
    2.11 +TAGS="text-editor"
    2.12 +SHORT_DESC="A text editor for programmers."
    2.13  MAINTAINER="allan316@gmail.com"
    2.14  LICENSE="GPL2"
    2.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16  WEB_SITE="https://triptico.com/software/mp.html"
    2.17 -WGET_URL="https://triptico.com/download/mp/$TARBALL"
    2.18 -TAGS="text-editor"
    2.19 +
    2.20 +TARBALL="$PACKAGE-${VERSION%.*}.tar.gz"
    2.21 +WGET_URL="https://triptico.com/download/$TARBALL"
    2.22  
    2.23  DEPENDS="gtk+"
    2.24  BUILD_DEPENDS="gtk+-dev"
    2.25 @@ -26,17 +27,21 @@
    2.26  {
    2.27  	mkdir -p $DESTDIR/usr/bin
    2.28  	# sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c
    2.29 -	./config.sh \
    2.30 -		--prefix=/usr \
    2.31 -		--without-qt4 \
    2.32 -		$CONFIGURE_ARGS
    2.33 -	make && make DESTDIR=$DESTDIR install
    2.34 +	./config.sh		\
    2.35 +		--prefix=/usr	\
    2.36 +		--without-qt4	\
    2.37 +		$CONFIGURE_ARGS &&
    2.38 +	make -j 1 &&
    2.39 +	make DESTDIR=$DESTDIR install
    2.40  }
    2.41  
    2.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.43  genpkg_rules()
    2.44  {
    2.45 -	mkdir -p $fs/usr/share
    2.46 -	cp -a $install/usr/bin $fs/usr
    2.47 -	cp -a $install/usr/share/mp-5 $fs/usr/share
    2.48 +	mkdir -p $fs/usr/share/mp-5
    2.49 +
    2.50 +	cp -a $install/usr/bin		$fs/usr
    2.51 +#	cp -a $install/usr/share/mp-5	$fs/usr/share
    2.52 +	cp -a $src/mp_*.mpsl		$fs/usr/share/mp-5
    2.53 +	cp -a $src/lang			$fs/usr/share/mp-5
    2.54  }