wok-next diff lazarus/receipt @ rev 21604

updated duktape (2.3.0 -> 2.5.0)
author Hans-G?nter Theisgen
date Wed Jun 24 15:30:47 2020 +0100 (2020-06-24)
parents d5aab818505e
children
line diff
     1.1 --- a/lazarus/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/lazarus/receipt	Wed Jun 24 15:30:47 2020 +0100
     1.3 @@ -1,24 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lazarus"
     1.7 -VERSION="1.6.0-0"
     1.8 +VERSION="2.0.6"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Lazarus Component Library and IDE for Freepascal"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL LGPL"
    1.14 -WEB_SITE="http://www.lazarus-ide.org/"
    1.15 +WEB_SITE="https://www.lazarus-ide.org/"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="$SF_MIRROR/lazarus/$TARBALL"
    1.19  
    1.20 -BUILD_DEPENDS="gtk2-dev fpc fpc-src"
    1.21 +BUILD_DEPENDS="fpc fpc-src gtk2-dev"
    1.22  
    1.23 -compile_rules() {
    1.24 +compile_rules()
    1.25 +{
    1.26  	make -j1 clean bigide
    1.27  	#&& make INSTALL_PREFIX=/usr install
    1.28  }
    1.29  
    1.30 -genpkg_rules() {
    1.31 +genpkg_rules()
    1.32 +{
    1.33  	cd $src # keep it
    1.34  	#strip lazarus
    1.35  	#strip startlazarus
    1.36 @@ -39,17 +41,34 @@
    1.37  	install -m 755 -d $fs/usr/share/man/man1
    1.38  
    1.39  	cd $src
    1.40 -	cp -Rfp packager debugger designer converter ide images languages lazarus.app units $fs/usr/share/lazarus
    1.41 -	cp -Rfp components docs doceditor examples lcl test tools $fs/usr/share/lazarus
    1.42 -	cp -Rfp Makefile* *.txt $fs/usr/share/lazarus
    1.43 +	cp -Rfp packager	$fs/usr/share/lazarus
    1.44 +	cp -Rfp debugger	$fs/usr/share/lazarus
    1.45 +	cp -Rfp designer	$fs/usr/share/lazarus
    1.46 +	cp -Rfp converter	$fs/usr/share/lazarus
    1.47 +	cp -Rfp ide		$fs/usr/share/lazarus
    1.48 +	cp -Rfp images		$fs/usr/share/lazarus
    1.49 +	cp -Rfp languages	$fs/usr/share/lazarus
    1.50 +	cp -Rfp lazarus.app	$fs/usr/share/lazarus
    1.51 +	cp -Rfp units		$fs/usr/share/lazarus
    1.52 +	cp -Rfp components	$fs/usr/share/lazarus
    1.53 +	cp -Rfp docs		$fs/usr/share/lazarus
    1.54 +	cp -Rfp doceditor	$fs/usr/share/lazarus
    1.55 +	cp -Rfp examples	$fs/usr/share/lazarus
    1.56 +	cp -Rfp lcl		$fs/usr/share/lazarus
    1.57 +	cp -Rfp test		$fs/usr/share/lazarus
    1.58 +	cp -Rfp tools		$fs/usr/share/lazarus
    1.59 +	cp -Rfp Makefile*	$fs/usr/share/lazarus
    1.60 +	cp -Rfp *.txt		$fs/usr/share/lazarus
    1.61  
    1.62 -	install -c -m 755 lazarus startlazarus lazbuild $fs/usr/share/lazarus
    1.63 +	install -c -m 755 lazarus	$fs/usr/share/lazarus
    1.64 +	install -c -m 755 startlazarus	$fs/usr/share/lazarus
    1.65 +	install -c -m 755 lazbuild	$fs/usr/share/lazarus
    1.66  
    1.67 -	ln -sf ../share/lazarus/lazarus $fs/usr/bin/lazarus-ide
    1.68 -	ln -sf ../share/lazarus/startlazarus $fs/usr/bin/startlazarus
    1.69 -	ln -sf ../share/lazarus/lazbuild $fs/usr/bin/lazbuild
    1.70 -	ln -sf ../share/lazarus/tools/lazres $fs/usr/bin/lazres
    1.71 -	ln -sf ../share/lazarus/tools/lrstolfm $fs/usr/bin/lrstolfm
    1.72 +	ln -sf ../share/lazarus/lazarus		$fs/usr/bin/lazarus-ide
    1.73 +	ln -sf ../share/lazarus/startlazarus	$fs/usr/bin/startlazarus
    1.74 +	ln -sf ../share/lazarus/lazbuild	$fs/usr/bin/lazbuild
    1.75 +	ln -sf ../share/lazarus/tools/lazres	$fs/usr/bin/lazres
    1.76 +	ln -sf ../share/lazarus/tools/lrstolfm	$fs/usr/bin/lrstolfm
    1.77  	ln -sf ../share/lazarus/tools/updatepofiles $fs/usr/bin/updatepofiles
    1.78  
    1.79  	make -C $src/install/man install PREFIX=/usr GINSTALL=/usr/bin/install
    1.80 @@ -64,14 +83,20 @@
    1.81  	cat man1/svn2revisioninc.1 | gzip > man1/svn2revisioninc.1.gz
    1.82  	cat man1/startlazarus.1 | gzip > man1/startlazarus.1.gz
    1.83  
    1.84 -	install -m 644 man1/lrstolfm.1.gz man1/lazarus-ide.1.gz man1/lazres.1.gz man1/lazbuild.1.gz man1/startlazarus.1.gz man1/updatepofiles.1.gz man1/svn2revisioninc.1.gz $fs/usr/share/man/man1
    1.85 +	install -m 644 man1/lrstolfm.1.gz	$fs/usr/share/man/man1
    1.86 +	install -m 644 man1/lazarus-ide.1.gz	$fs/usr/share/man/man1
    1.87 +	install -m 644 man1/lazres.1.gz		$fs/usr/share/man/man1
    1.88 +	install -m 644 man1/lazbuild.1.gz	$fs/usr/share/man/man1
    1.89 +	install -m 644 man1/startlazarus.1.gz	$fs/usr/share/man/man1
    1.90 +	install -m 644 man1/updatepofiles.1.gz	$fs/usr/share/man/man1
    1.91 +	install -m 644 man1/svn2revisioninc.1.gz $fs/usr/share/man/man1
    1.92  
    1.93  	rm -f man1/lrstolfm.1.gz man1/lazarus-ide.1.gz man1/lazres.1.gz man1/lazbuild.1.gz man1/startlazarus.1.gz man1/updatepofiles.1.gz man1/svn2revisioninc.1.gz
    1.94  
    1.95 -	install -c -m 644 $src/install/lazarus.desktop $fs/usr/share/applications/lazarus.desktop
    1.96 -	install -c -m 644 $src/images/icons/lazarus128x128.png $fs/usr/share/pixmaps/lazarus.png
    1.97 -	install -c -m 644 $src/install/lazarus-mime.xml $fs/usr/share/mime/packages/lazarus.xml
    1.98 -	install -c -m 644 $src/images/mimetypes/*.png $fs/usr/share/icons/hicolor/48x48/mimetypes/
    1.99 +	install -c -m 644 $src/install/lazarus.desktop		$fs/usr/share/applications/lazarus.desktop
   1.100 +	install -c -m 644 $src/images/icons/lazarus128x128.png	$fs/usr/share/pixmaps/lazarus.png
   1.101 +	install -c -m 644 $src/install/lazarus-mime.xml		$fs/usr/share/mime/packages/lazarus.xml
   1.102 +	install -c -m 644 $src/images/mimetypes/*.png		$fs/usr/share/icons/hicolor/48x48/mimetypes/
   1.103  
   1.104  	install -m 755 -d $fs/usr/share/lazarus/units/i386-linux/nogui
   1.105  	install -m 755 -d $fs/usr/share/lazarus/units/i386-linux/gtk