fpc.paketlendi

This commit is contained in:
milisarge 2017-05-08 06:36:54 +03:00
parent b23ed0b23d
commit 606b5cc6ea
3 changed files with 52 additions and 14 deletions

View File

@ -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
}

View File

@ -1,31 +1,20 @@
# Description: Özgür pascal derleyicisi # Description: Özgür pascal derleyicisi
# URL: http://www.freepascal.org/ # URL: http://www.freepascal.org/
# Packager: milisarge # Packager: milisarge
# Depends on: fpc # Depends on: fpc gdb
name=fpc3 name=fpc3
version=3.0.2 version=3.0.2
release=1 release=1
source=(ftp://ftp.freepascal.org/pub/fpc/dist/$version/source/fpcbuild-$version.tar.gz 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)
build() { 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 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 pushd fpcsrc/compiler
fpcmake -Tall fpcmake -Tall
popd popd
make build NOGDB=1 make build NOGDB=1
export HOME="$SRC" export HOME="$SRC"
make -j1 PREFIX="$PKG"/usr install make -j1 PREFIX="$PKG"/usr install

View File

@ -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
}