wok-current annotate lazarus/receipt @ rev 21483
updated mpfr and mpfr-dev (3.1.5 -> 4.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 01 10:09:51 2019 +0100 (2019-05-01) |
parents | d8337abf6290 |
children | 65d7d867e0c1 |
rev | line source |
---|---|
al@18990 | 1 # SliTaz package receipt. |
al@18990 | 2 |
al@18990 | 3 PACKAGE="lazarus" |
al@18990 | 4 VERSION="1.6.0-0" |
al@18990 | 5 CATEGORY="development" |
al@18990 | 6 SHORT_DESC="Lazarus Component Library and IDE for Freepascal" |
al@18990 | 7 MAINTAINER="shevtsov.anton@gmail.com" |
al@18990 | 8 LICENSE="GPL LGPL" |
pascal@21278 | 9 WEB_SITE="https://www.lazarus-ide.org" |
al@18990 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18992 | 11 WGET_URL="$SF_MIRROR/lazarus/$TARBALL" |
al@18990 | 12 TAGS="lazarus ide pascal" |
al@18990 | 13 |
al@18990 | 14 DEPENDS="fpc fpc-src gdb make" |
al@18992 | 15 BUILD_DEPENDS="gtk+-dev fpc fpc-src" |
al@18990 | 16 |
al@18990 | 17 # Rules to configure and make the package. |
al@18990 | 18 compile_rules() |
al@18990 | 19 { |
pascal@20625 | 20 find * -name Makefile | xargs sed -i 's|findstring x86_64|&SKIP|' |
al@18992 | 21 make -j 1 clean bigide |
al@18990 | 22 #&& make INSTALL_PREFIX=/usr install |
al@18990 | 23 |
al@18990 | 24 } |
al@18990 | 25 |
al@18990 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18990 | 27 genpkg_rules() |
al@18990 | 28 { |
al@18990 | 29 cd $src |
al@18990 | 30 #strip lazarus |
al@18990 | 31 #strip startlazarus |
al@18990 | 32 #strip lazbuild |
al@18990 | 33 #strip tools/lazres |
al@18990 | 34 #strip tools/updatepofiles |
al@18990 | 35 #strip tools/lrstolfm |
al@18990 | 36 #strip tools/svn2revisioninc |
al@18990 | 37 |
al@18990 | 38 install -m 755 -d $fs/usr/share |
al@18990 | 39 install -m 755 -d $fs/usr/share/lazarus |
al@18990 | 40 install -m 755 -d $fs/usr/share/applications |
al@18990 | 41 install -m 755 -d $fs/usr/share/pixmaps |
al@18990 | 42 install -m 755 -d $fs/usr/share/mime/packages |
al@18990 | 43 install -m 755 -d $fs/usr/share/icons/hicolor/48x48/mimetypes |
al@18990 | 44 install -m 755 -d $fs/usr/bin |
al@18990 | 45 install -m 755 -d $fs/usr/share/man |
al@18990 | 46 install -m 755 -d $fs/usr/share/man/man1 |
al@18990 | 47 |
al@18990 | 48 cd $src |
al@18990 | 49 cp -Rfp packager debugger designer converter ide images languages lazarus.app units $fs/usr/share/lazarus |
al@18990 | 50 cp -Rfp components docs doceditor examples lcl test tools $fs/usr/share/lazarus |
al@18990 | 51 cp -Rfp Makefile* *.txt $fs/usr/share/lazarus |
al@18990 | 52 |
al@18990 | 53 install -c -m 755 lazarus startlazarus lazbuild $fs/usr/share/lazarus |
al@18990 | 54 |
al@18990 | 55 ln -sf ../share/lazarus/lazarus $fs/usr/bin/lazarus-ide |
al@18990 | 56 ln -sf ../share/lazarus/startlazarus $fs/usr/bin/startlazarus |
al@18990 | 57 ln -sf ../share/lazarus/lazbuild $fs/usr/bin/lazbuild |
al@18990 | 58 ln -sf ../share/lazarus/tools/lazres $fs/usr/bin/lazres |
al@18990 | 59 ln -sf ../share/lazarus/tools/lrstolfm $fs/usr/bin/lrstolfm |
al@18990 | 60 ln -sf ../share/lazarus/tools/updatepofiles $fs/usr/bin/updatepofiles |
al@18990 | 61 |
al@18990 | 62 make -C $src/install/man install PREFIX=/usr GINSTALL=/usr/bin/install |
al@18990 | 63 |
al@18990 | 64 cd $src/install/man/ |
al@18990 | 65 |
al@18990 | 66 cat man1/lrstolfm.1 | gzip > man1/lrstolfm.1.gz |
al@18990 | 67 cat man1/lazarus-ide.1 | gzip > man1/lazarus-ide.1.gz |
al@18990 | 68 cat man1/lazbuild.1 | gzip > man1/lazbuild.1.gz |
al@18990 | 69 cat man1/lazres.1 | gzip > man1/lazres.1.gz |
al@18990 | 70 cat man1/updatepofiles.1 | gzip > man1/updatepofiles.1.gz |
al@18990 | 71 cat man1/svn2revisioninc.1 | gzip > man1/svn2revisioninc.1.gz |
al@18990 | 72 cat man1/startlazarus.1 | gzip > man1/startlazarus.1.gz |
al@18990 | 73 |
al@18990 | 74 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 |
al@18990 | 75 |
al@18990 | 76 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 |
al@18990 | 77 |
al@18990 | 78 |
al@18990 | 79 install -c -m 644 $src/install/lazarus.desktop $fs/usr/share/applications/lazarus.desktop |
al@18990 | 80 install -c -m 644 $src/images/icons/lazarus128x128.png $fs/usr/share/pixmaps/lazarus.png |
al@18990 | 81 install -c -m 644 $src/install/lazarus-mime.xml $fs/usr/share/mime/packages/lazarus.xml |
al@18990 | 82 install -c -m 644 $src/images/mimetypes/*.png $fs/usr/share/icons/hicolor/48x48/mimetypes/ |
al@18990 | 83 |
al@18990 | 84 install -m 755 -d $fs/usr/share/lazarus/units/i386-linux/nogui |
al@18990 | 85 install -m 755 -d $fs/usr/share/lazarus/units/i386-linux/gtk |
al@18990 | 86 install -m 755 -d $fs/usr/share/lazarus/units/i386-linux/gtk2 |
al@18990 | 87 install -m 755 -d $fs/usr/share/lazarus/units/i386-linux/qt |
al@18990 | 88 install -m 755 -d $fs/usr/share/lazarus/components/synedit/design/languages |
al@18990 | 89 |
al@18990 | 90 #cp -a $install/* $fs |
al@18990 | 91 } |