wok rev 18990
Add lazarus (thanks Anton Shevtsov)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 18 10:55:31 2016 +0200 (2016-03-18) |
parents | a3555d456be1 |
children | bec033058a17 |
files | lazarus/description.txt lazarus/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lazarus/description.txt Fri Mar 18 10:55:31 2016 +0200 1.3 @@ -0,0 +1,1 @@ 1.4 +Lazarus is a Delphi compatible cross-platform IDE for Free Pascal. It includes LCL which is more or less compatible with Delphi's VCL. Free Pascal is a GPL'ed compiler that runs on Linux, Win32, OS/2, 68K and more. Free Pascal is designed to be able to understand and compile Delphi syntax, which is OOP. Lazarus is the part of the missing puzzle that will allow you to develop Delphi like programs in all of the above platforms. Unlike Java which strives to be a write once run anywhere, Lazarus and Free Pascal strives for write once compile anywhere. Since the exact same compiler is available on all of the above platforms it means you don't need to do any recoding to produce identical products for different platforms.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/lazarus/receipt Fri Mar 18 10:55:31 2016 +0200 2.3 @@ -0,0 +1,90 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="lazarus" 2.7 +VERSION="1.6.0-0" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="Lazarus Component Library and IDE for Freepascal" 2.10 +MAINTAINER="shevtsov.anton@gmail.com" 2.11 +LICENSE="GPL LGPL" 2.12 +WEB_SITE="http://www.lazarus-ide.org" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WGET_URL="https://sourceforge.net/projects/lazarus/files/Lazarus%20Zip%20_%20GZip/Lazarus%201.6/$PACKAGE-$VERSION.tar.gz" 2.15 +TAGS="lazarus ide pascal" 2.16 + 2.17 +DEPENDS="fpc fpc-src gdb make" 2.18 +BUILD_DEPENDS="gtk+-dev fpc fpc-src " 2.19 + 2.20 +# Rules to configure and make the package. 2.21 +compile_rules() 2.22 +{ 2.23 + cd $src && make clean bigide 2.24 + #&& make INSTALL_PREFIX=/usr install 2.25 + 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + cd $src 2.32 + #strip lazarus 2.33 + #strip startlazarus 2.34 + #strip lazbuild 2.35 + #strip tools/lazres 2.36 + #strip tools/updatepofiles 2.37 + #strip tools/lrstolfm 2.38 + #strip tools/svn2revisioninc 2.39 + 2.40 + install -m 755 -d $fs/usr/share 2.41 + install -m 755 -d $fs/usr/share/lazarus 2.42 + install -m 755 -d $fs/usr/share/applications 2.43 + install -m 755 -d $fs/usr/share/pixmaps 2.44 + install -m 755 -d $fs/usr/share/mime/packages 2.45 + install -m 755 -d $fs/usr/share/icons/hicolor/48x48/mimetypes 2.46 + install -m 755 -d $fs/usr/bin 2.47 + install -m 755 -d $fs/usr/share/man 2.48 + install -m 755 -d $fs/usr/share/man/man1 2.49 + 2.50 + cd $src 2.51 + cp -Rfp packager debugger designer converter ide images languages lazarus.app units $fs/usr/share/lazarus 2.52 + cp -Rfp components docs doceditor examples lcl test tools $fs/usr/share/lazarus 2.53 + cp -Rfp Makefile* *.txt $fs/usr/share/lazarus 2.54 + 2.55 + install -c -m 755 lazarus startlazarus lazbuild $fs/usr/share/lazarus 2.56 + 2.57 + ln -sf ../share/lazarus/lazarus $fs/usr/bin/lazarus-ide 2.58 + ln -sf ../share/lazarus/startlazarus $fs/usr/bin/startlazarus 2.59 + ln -sf ../share/lazarus/lazbuild $fs/usr/bin/lazbuild 2.60 + ln -sf ../share/lazarus/tools/lazres $fs/usr/bin/lazres 2.61 + ln -sf ../share/lazarus/tools/lrstolfm $fs/usr/bin/lrstolfm 2.62 + ln -sf ../share/lazarus/tools/updatepofiles $fs/usr/bin/updatepofiles 2.63 + 2.64 + make -C $src/install/man install PREFIX=/usr GINSTALL=/usr/bin/install 2.65 + 2.66 + cd $src/install/man/ 2.67 + 2.68 + cat man1/lrstolfm.1 | gzip > man1/lrstolfm.1.gz 2.69 + cat man1/lazarus-ide.1 | gzip > man1/lazarus-ide.1.gz 2.70 + cat man1/lazbuild.1 | gzip > man1/lazbuild.1.gz 2.71 + cat man1/lazres.1 | gzip > man1/lazres.1.gz 2.72 + cat man1/updatepofiles.1 | gzip > man1/updatepofiles.1.gz 2.73 + cat man1/svn2revisioninc.1 | gzip > man1/svn2revisioninc.1.gz 2.74 + cat man1/startlazarus.1 | gzip > man1/startlazarus.1.gz 2.75 + 2.76 + 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 2.77 + 2.78 + 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 2.79 + 2.80 + 2.81 + install -c -m 644 $src/install/lazarus.desktop $fs/usr/share/applications/lazarus.desktop 2.82 + install -c -m 644 $src/images/icons/lazarus128x128.png $fs/usr/share/pixmaps/lazarus.png 2.83 + install -c -m 644 $src/install/lazarus-mime.xml $fs/usr/share/mime/packages/lazarus.xml 2.84 + install -c -m 644 $src/images/mimetypes/*.png $fs/usr/share/icons/hicolor/48x48/mimetypes/ 2.85 + 2.86 + install -m 755 -d $fs/usr/share/lazarus/units/i386-linux/nogui 2.87 + install -m 755 -d $fs/usr/share/lazarus/units/i386-linux/gtk 2.88 + install -m 755 -d $fs/usr/share/lazarus/units/i386-linux/gtk2 2.89 + install -m 755 -d $fs/usr/share/lazarus/units/i386-linux/qt 2.90 + install -m 755 -d $fs/usr/share/lazarus/components/synedit/design/languages 2.91 + 2.92 + #cp -a $install/* $fs 2.93 +}