wok-next diff lazarus/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 0eb66a27e947
line diff
     1.1 --- a/lazarus/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.2 +++ b/lazarus/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -4,30 +4,24 @@
     1.4  VERSION="1.6.0-0"
     1.5  CATEGORY="development"
     1.6  SHORT_DESC="Lazarus Component Library and IDE for Freepascal"
     1.7 -MAINTAINER="shevtsov.anton@gmail.com"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL LGPL"
    1.10 -WEB_SITE="http://www.lazarus-ide.org"
    1.11 +WEB_SITE="http://www.lazarus-ide.org/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="$SF_MIRROR/lazarus/$TARBALL"
    1.15 -TAGS="lazarus ide pascal"
    1.16  
    1.17 -DEPENDS="fpc fpc-src gdb make"
    1.18  BUILD_DEPENDS="gtk2-dev fpc fpc-src"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 -	make -j 1 clean bigide
    1.24 +compile_rules() {
    1.25 +	make -j1 clean bigide
    1.26  	#&& make INSTALL_PREFIX=/usr install
    1.27 -
    1.28  }
    1.29  
    1.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 -genpkg_rules()
    1.32 -{
    1.33 -	cd $src
    1.34 +genpkg_rules() {
    1.35 +	cd $src # keep it
    1.36  	#strip lazarus
    1.37 -	#strip startlazarus	
    1.38 +	#strip startlazarus
    1.39  	#strip lazbuild
    1.40  	#strip tools/lazres
    1.41  	#strip tools/updatepofiles
    1.42 @@ -43,7 +37,7 @@
    1.43  	install -m 755 -d $fs/usr/bin
    1.44  	install -m 755 -d $fs/usr/share/man
    1.45  	install -m 755 -d $fs/usr/share/man/man1
    1.46 -	
    1.47 +
    1.48  	cd $src
    1.49  	cp -Rfp packager debugger designer converter ide images languages lazarus.app units $fs/usr/share/lazarus
    1.50  	cp -Rfp components docs doceditor examples lcl test tools $fs/usr/share/lazarus
    1.51 @@ -74,7 +68,6 @@
    1.52  
    1.53  	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.54  
    1.55 -	
    1.56  	install -c -m 644 $src/install/lazarus.desktop $fs/usr/share/applications/lazarus.desktop
    1.57  	install -c -m 644 $src/images/icons/lazarus128x128.png $fs/usr/share/pixmaps/lazarus.png
    1.58  	install -c -m 644 $src/install/lazarus-mime.xml $fs/usr/share/mime/packages/lazarus.xml
    1.59 @@ -87,4 +80,6 @@
    1.60  	install -m 755 -d $fs/usr/share/lazarus/components/synedit/design/languages
    1.61  
    1.62  	#cp -a $install/* $fs
    1.63 +	DEPENDS="fpc fpc-src gdb make"
    1.64 +	TAGS="lazarus ide pascal"
    1.65  }