From 606b5cc6ea565b2428db52493d2d77b896453808 Mon Sep 17 00:00:00 2001 From: milisarge Date: Mon, 8 May 2017 06:36:54 +0300 Subject: [PATCH] fpc.paketlendi --- talimatname/genel/fpc-src/talimat | 25 +++++++++++++++++++++++++ talimatname/genel/fpc3/talimat | 17 +++-------------- talimatname/genel/lazarus/talimat | 24 ++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 14 deletions(-) create mode 100644 talimatname/genel/fpc-src/talimat create mode 100644 talimatname/genel/lazarus/talimat diff --git a/talimatname/genel/fpc-src/talimat b/talimatname/genel/fpc-src/talimat new file mode 100644 index 000000000..cfc15b05f --- /dev/null +++ b/talimatname/genel/fpc-src/talimat @@ -0,0 +1,25 @@ +# Description: fpc kaynak kodları +# URL: http://www.lazarus-ide.org/ +# Packager: milisarge +# Depends on: fpc + +name=fpc-src +version=2.6.4 +release=1 +source=(ftp://ftp.freepascal.org/pub/fpc/dist/$version/source/fpcbuild-$version.tar.gz) + +build() { + cd fpcbuild-$version/fpcsrc + mkdir -p $PKG/usr/lib/fpc/src + cp -R . $PKG/usr/lib/fpc/src + find $PKG/usr/lib/fpc/src \ + \( \ + -name '*README*' -o \ + -name '*INSTALL*' -o \ + -name '*COPYING*' -o \ + -name '*ChangeLog*' -o \ + -name '*TODO*' -o \ + -name '*AUTHORS*' \ + \) -delete +} + diff --git a/talimatname/genel/fpc3/talimat b/talimatname/genel/fpc3/talimat index 303b163e1..4b5f51500 100644 --- a/talimatname/genel/fpc3/talimat +++ b/talimatname/genel/fpc3/talimat @@ -1,31 +1,20 @@ # Description: Özgür pascal derleyicisi # URL: http://www.freepascal.org/ # Packager: milisarge -# Depends on: fpc +# Depends on: fpc gdb name=fpc3 version=3.0.2 release=1 -source=(ftp://ftp.freepascal.org/pub/fpc/dist/$version/source/fpcbuild-$version.tar.gz - https://ftp.gnu.org/gnu/gdb/gdb-7.10.tar.xz - fpc-gdb.patch) +source=(ftp://ftp.freepascal.org/pub/fpc/dist/$version/source/fpcbuild-$version.tar.gz) build() { - cd "$SRC"/gdb-7.10 - ./configure --prefix=/usr --disable-nls --without-python --disable-werror --disable-tui - make - make -C gdb libgdb.a - cp libdecnumber/libdecnumber.a gdb/ - cd "$SRC"/fpcbuild-$version - #patch -p1 <"$SRC"/fpc-gdb.patch - export GDBLIBDIR="$SRC"/gdb-7.10/gdb - export LIBGDBFILE=$GDBLIBDIR/libgdb.a pushd fpcsrc/compiler fpcmake -Tall popd make build NOGDB=1 - export HOME="$SRC" + export HOME="$SRC" make -j1 PREFIX="$PKG"/usr install diff --git a/talimatname/genel/lazarus/talimat b/talimatname/genel/lazarus/talimat new file mode 100644 index 000000000..6ec1bcfe1 --- /dev/null +++ b/talimatname/genel/lazarus/talimat @@ -0,0 +1,24 @@ +# Description: fpc için arayüz +# URL: http://www.lazarus-ide.org/ +# Packager: milisarge +# Depends on: fpc fpc-src gdb gtk2 + +name=lazarus +version=1.6.4 +release=1 +source=(http://sourceforge.net/projects/$name/files/Lazarus%20Zip%20_%20GZip/Lazarus%20$version/$name-$version-0.tar.gz) + +build() { + cd $name + MAKEFLAGS="$(echo "$MAKEFLAGS" | sed "s/-j[[:digit:]]\+\s\?//")" make bigide + make install PREFIX=$PKG/usr + find $PKG \ + \( \ + -name "*README*" -o \ + -name "*BUGS*" -o \ + -name "*TODOS*" -o \ + -name "*COPYING*" -o \ + -name "*INSTALL*" -o \ + -name "*ChangeLog*" \ + \) -delete +}