libreofis-gerekler
This commit is contained in:
parent
755087055d
commit
43e4da2919
|
@ -0,0 +1,83 @@
|
||||||
|
From f6d14b3b510de5c50e45c98fe812a73ba00f3def Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Fridrich=20=C5=A0trba?= <fridrich.strba@bluewin.ch>
|
||||||
|
Date: Thu, 9 Jun 2016 10:50:41 +0200
|
||||||
|
Subject: [PATCH] Allow building with mdds-1.2
|
||||||
|
|
||||||
|
Change-Id: If8791b4c1c3fbefdd06af345276e0a724dff5482
|
||||||
|
---
|
||||||
|
configure.ac | 44 +++++++++++++++++++++++---------------------
|
||||||
|
1 file changed, 23 insertions(+), 21 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index ca4bb07..bb946eb 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -24,7 +24,7 @@ AC_LANG([C++])
|
||||||
|
# Configure options
|
||||||
|
# =================
|
||||||
|
AC_ARG_WITH([mdds],
|
||||||
|
- AS_HELP_STRING([--with-mdds=1.0|0.x], [Specify which version of mdds to use (1.0 is the default)]),
|
||||||
|
+ AS_HELP_STRING([--with-mdds=1.2|1.0|0.x], [Specify which version of mdds to use (1.0 is the default)]),
|
||||||
|
[], [with_mdds="1.0"])
|
||||||
|
|
||||||
|
# ===========================
|
||||||
|
@@ -47,7 +47,7 @@ AC_PROG_SED
|
||||||
|
|
||||||
|
AM_MISSING_PROG([GPERF], [gperf])
|
||||||
|
|
||||||
|
-AS_IF([test "$with_mdds" = "1.0"], [AX_CXX_COMPILE_STDCXX_11([noext])])
|
||||||
|
+AS_IF([test "$with_mdds" = "1.0" -o "$with_mdds" = "1.2" ], [AX_CXX_COMPILE_STDCXX_11([noext])])
|
||||||
|
|
||||||
|
# ===============
|
||||||
|
# Find librevenge
|
||||||
|
@@ -138,25 +138,27 @@ AC_SUBST([GLM_CFLAGS])
|
||||||
|
# =========
|
||||||
|
# Find mdds
|
||||||
|
# =========
|
||||||
|
-AS_IF([test "$with_mdds" = "1.0"], [
|
||||||
|
- PKG_CHECK_MODULES([MDDS], [mdds-1.0])
|
||||||
|
-], [
|
||||||
|
- PKG_CHECK_MODULES([MDDS], [mdds])
|
||||||
|
- AC_MSG_CHECKING([checking if mdds::flat_segment_tree can store values of any type])
|
||||||
|
- old_CPPFLAGS="$CPPFLAGS"
|
||||||
|
- CPPFLAGS="$MDDS_CFLAGS $CPPFLAGS"
|
||||||
|
- AC_COMPILE_IFELSE([AC_LANG_SOURCE([
|
||||||
|
- #include <mdds/flat_segment_tree.hpp>
|
||||||
|
- struct Value {};
|
||||||
|
- mdds::flat_segment_tree<int, Value> tree(0, 4, Value());
|
||||||
|
- ])], [
|
||||||
|
- AC_MSG_RESULT([yes])
|
||||||
|
- ], [
|
||||||
|
- AC_MSG_RESULT([no])
|
||||||
|
- AC_MSG_ERROR([please install mdds >= 0.12.1])
|
||||||
|
- ])
|
||||||
|
- CPPFLAGS="$old_CPPFLAGS"
|
||||||
|
-])
|
||||||
|
+AS_CASE(["$with_mdds"],
|
||||||
|
+ ["1.2"], [PKG_CHECK_MODULES([MDDS], [mdds-1.2])],
|
||||||
|
+ ["1.0"], [PKG_CHECK_MODULES([MDDS], [mdds-1.0])],
|
||||||
|
+ [
|
||||||
|
+ PKG_CHECK_MODULES([MDDS], [mdds])
|
||||||
|
+ AC_MSG_CHECKING([checking if mdds::flat_segment_tree can store values of any type])
|
||||||
|
+ old_CPPFLAGS="$CPPFLAGS"
|
||||||
|
+ CPPFLAGS="$MDDS_CFLAGS $CPPFLAGS"
|
||||||
|
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
|
||||||
|
+ #include <mdds/flat_segment_tree.hpp>
|
||||||
|
+ struct Value {};
|
||||||
|
+ mdds::flat_segment_tree<int, Value> tree(0, 4, Value());
|
||||||
|
+ ])], [
|
||||||
|
+ AC_MSG_RESULT([yes])
|
||||||
|
+ ], [
|
||||||
|
+ AC_MSG_RESULT([no])
|
||||||
|
+ AC_MSG_ERROR([please install mdds >= 0.12.1])
|
||||||
|
+ ])
|
||||||
|
+ CPPFLAGS="$old_CPPFLAGS"
|
||||||
|
+ ]
|
||||||
|
+)
|
||||||
|
|
||||||
|
# =================================
|
||||||
|
# Libtool/Version Makefile settings
|
||||||
|
--
|
||||||
|
2.9.3
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
From 1a20d8ece2ea3e8aa1d319cd88e8a6aa637982f2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: David Tardon <dtardon@redhat.com>
|
||||||
|
Date: Fri, 30 Sep 2016 09:57:15 +0200
|
||||||
|
Subject: [PATCH] drop test that violates Unicode tr#35
|
||||||
|
|
||||||
|
(and therefore fails with latest liblangtag)
|
||||||
|
|
||||||
|
Change-Id: I0e06c6c4e8bcf999cf5559d6287e77ae97e555d8
|
||||||
|
---
|
||||||
|
src/test/IWORKLanguageManagerTest.cpp | 10 ----------
|
||||||
|
1 file changed, 10 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/test/IWORKLanguageManagerTest.cpp b/src/test/IWORKLanguageManagerTest.cpp
|
||||||
|
index 8fca0a6..e663bd2 100644
|
||||||
|
--- a/src/test/IWORKLanguageManagerTest.cpp
|
||||||
|
+++ b/src/test/IWORKLanguageManagerTest.cpp
|
||||||
|
@@ -104,16 +104,6 @@ void IWORKLanguageManagerTest::testTagToProps()
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
- const string tag(mgr.addTag("ccc"));
|
||||||
|
- CPPUNIT_ASSERT(!tag.empty());
|
||||||
|
- RVNGPropertyList props;
|
||||||
|
- mgr.writeProperties(tag, props);
|
||||||
|
- assertProperty("unknown lang", props, "fo:language", "ccc");
|
||||||
|
- CPPUNIT_ASSERT(!props["fo:country"]);
|
||||||
|
- CPPUNIT_ASSERT(!props["fo:script"]);
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- {
|
||||||
|
// invalid tag
|
||||||
|
const string tag(mgr.addTag("13c"));
|
||||||
|
CPPUNIT_ASSERT(tag.empty());
|
||||||
|
--
|
||||||
|
2.9.3
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
From b63a2f52d95243aef4660b2d4573f0e149eeb9a6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: David Tardon <dtardon@redhat.com>
|
||||||
|
Date: Wed, 22 Feb 2017 15:03:19 -0500
|
||||||
|
Subject: [PATCH] fix test on i686
|
||||||
|
|
||||||
|
Change-Id: Ib9dafdfd76175cc6bbcd94596f7a7bd8b924ed34
|
||||||
|
---
|
||||||
|
src/test/IWORKTransformationTest.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/test/IWORKTransformationTest.cpp b/src/test/IWORKTransformationTest.cpp
|
||||||
|
index 77f0b27..5e96e60 100644
|
||||||
|
--- a/src/test/IWORKTransformationTest.cpp
|
||||||
|
+++ b/src/test/IWORKTransformationTest.cpp
|
||||||
|
@@ -232,7 +232,7 @@ void IWORKTransformationTest::testInverseOperations()
|
||||||
|
|
||||||
|
CPPUNIT_ASSERT(scale(2, 1) * scale(0.5, 1) == eye);
|
||||||
|
CPPUNIT_ASSERT(scale(1, 2) * scale(1, 0.5) == eye);
|
||||||
|
- CPPUNIT_ASSERT(scale(3, 2) * scale(1.0 / 3, 0.5) == eye);
|
||||||
|
+ CPPUNIT_ASSERT(approxEqual(scale(3, 2) * scale(1.0 / 3, 0.5), eye));
|
||||||
|
|
||||||
|
// CPPUNIT_ASSERT(shear() == eye);
|
||||||
|
|
||||||
|
--
|
||||||
|
2.11.1
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
# Description: Apple Keynote sunumlarını okumak ve dönüştürmek için kullanılan kütüphane ve araçlar
|
||||||
|
# URL: https://wiki.documentfoundation.org/DLP/Libraries/libetonyek
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on: libxml2 boost librevenge doxygen mdds libwpd liblangtag glm
|
||||||
|
|
||||||
|
name=libetonyek
|
||||||
|
version=0.1.6
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz
|
||||||
|
0001-Allow-building-with-mdds-1.2.patch
|
||||||
|
0001-drop-test-that-violates-Unicode-tr-35.patch
|
||||||
|
0001-fix-test-on-i686.patch)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
patch -Np1 -i ../0001-Allow-building-with-mdds-1.2.patch
|
||||||
|
patch -Np1 -i ../0001-drop-test-that-violates-Unicode-tr-35.patch
|
||||||
|
patch -Np1 -i ../0001-fix-test-on-i686.patch
|
||||||
|
autoreconf -vfi
|
||||||
|
|
||||||
|
./configure --prefix=/usr --with-mdds=1.2
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
# Description: Öncelikle dil tahmininde kullanılan N-Gram Tabanlı Metin Sınıflandırma kitaplığı
|
||||||
|
# URL: http://www.freedesktop.org/wiki/Software/libexttextcat/
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on:
|
||||||
|
|
||||||
|
name=libexttextcat
|
||||||
|
version=3.4.4
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make
|
||||||
|
make DESTDIR="$PKG" install
|
||||||
|
|
||||||
|
install -D -m644 LICENSE "$PKG"/usr/share/licenses/$name/LICENSE
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Description: Tanımlama dilleri için etiketlerle erişim arayüz kütüphanesi
|
||||||
|
# URL: http://tagoh.bitbucket.org/liblangtag/index.html
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on: libxml2 glib gobject-introspection
|
||||||
|
|
||||||
|
name=liblangtag
|
||||||
|
version=0.6.2
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://bitbucket.org/tagoh/liblangtag/downloads/$name-$version.tar.bz2)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Description: Microsoft Publisher dosya biçimi ayrıştırıcı kitaplığı (en yeni anlık görüntü)
|
||||||
|
# URL: https://wiki.documentfoundation.org/DLP/Libraries/libmspub
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on: doxygen libwpd boost librevenge icu
|
||||||
|
|
||||||
|
name=libmspub
|
||||||
|
version=0.1.2
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
./configure --prefix=/usr --with-docs
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Description: Bazı eski mac metin belgeleri için kütüphaneyi içe aktarın.
|
||||||
|
# URL: https://sourceforge.net/projects/libmwaw/
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on: doxygen boost librevenge
|
||||||
|
|
||||||
|
name=libmwaw
|
||||||
|
version=0.3.12
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://sourceforge.net/projects/$name/files/$name/$name-$version/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Description: Open Document Format'da belge üretmek için kütüphane
|
||||||
|
# URL: http://sourceforge.net/p/libwpd/wiki/libodfgen/
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on: boost doxygen libwpd libwpg librevenge
|
||||||
|
|
||||||
|
name=libodfgen
|
||||||
|
version=0.1.6
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(http://sourceforge.net/projects/libwpd/files/libodfgen/libodfgen-$version/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
# Description: Aldus/Adobe PageMaker belgelerinin dosya biçimini ayrıştıran bir kitaplık
|
||||||
|
# URL: https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on: librevenge boost
|
||||||
|
|
||||||
|
name=libpagemaker
|
||||||
|
version=0.0.3
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
install -Dm644 COPYING $PKG/usr/share/licenses/$name/COPYING
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Description: Tamsayılı temelli sayısal teorik uygulamalar için yüksek seviyede optimize edilmiş ve taşınabilir rutinler
|
||||||
|
# URL: http://www.libtom.org/
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on:
|
||||||
|
|
||||||
|
name=libtommath
|
||||||
|
version=1.0.1
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://github.com/libtom/libtommath/releases/download/v$version/ltm-$version.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
make -f makefile.shared IGNORE_SPEED=1
|
||||||
|
make -f makefile.shared PREFIX=/usr DESTDIR=$PKG INSTALL_GROUP=root install
|
||||||
|
install -Dm644 LICENSE $PKG/usr/share/licenses/$name/LICENSE
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Description: Visio diyagramlarını yorumlama ve içe aktarma kabiliyeti sağlayan kitaplık
|
||||||
|
# URL: https://wiki.documentfoundation.org/DLP/Libraries/libvisio
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on: doxygen libwpd boost librevenge icu libxml2 doxygen
|
||||||
|
|
||||||
|
name=libvisio
|
||||||
|
version=0.1.5
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Description: Microsoft Works dosya sözcük işlemci biçimi içe aktarma filtre kitaplığı
|
||||||
|
# URL: https://sourceforge.net/projects/libwps/
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on: doxygen libwpd boost librevenge
|
||||||
|
|
||||||
|
name=libwps
|
||||||
|
version=0.4.7
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(http://downloads.sourceforge.net/project/libwps/$name/$name-$version/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
./configure --prefix=/usr --disable-static
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
# Description: Zoner çizim ve bitmap dosyalarını içe aktarmak için bir kütüphane
|
||||||
|
# URL: https://wiki.documentfoundation.org/DLP/Libraries/libzmf
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on: librevenge boost libpng doxygen
|
||||||
|
|
||||||
|
name=libzmf
|
||||||
|
version=0.0.1
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
./configure --prefix=/usr --disable-werror
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
install -Dm644 COPYING $PKG/usr/share/licenses/$name/COPYING
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
diff -ru lp_solve_5.5.orig/lp_solve/ccc lp_solve_5.5/lp_solve/ccc
|
||||||
|
--- lp_solve_5.5.orig/lp_solve/ccc 2009-02-23 16:31:18.000000000 +0000
|
||||||
|
+++ lp_solve_5.5/lp_solve/ccc 2009-02-23 16:31:29.000000000 +0000
|
||||||
|
@@ -28,7 +28,7 @@
|
||||||
|
fi
|
||||||
|
rm /tmp/isnan.c /tmp/isnan >/dev/null 2>&1
|
||||||
|
|
||||||
|
-opts='-O3'
|
||||||
|
+opts=$CFLAGS
|
||||||
|
|
||||||
|
def=
|
||||||
|
if [ "$PLATFORM" = "SCO_UNIX" ]
|
||||||
|
diff -ru lp_solve_5.5.orig/lpsolve55/ccc lp_solve_5.5/lpsolve55/ccc
|
||||||
|
--- lp_solve_5.5.orig/lpsolve55/ccc 2009-02-23 16:31:18.000000000 +0000
|
||||||
|
+++ lp_solve_5.5/lpsolve55/ccc 2009-02-23 16:31:29.000000000 +0000
|
||||||
|
@@ -35,7 +35,7 @@
|
||||||
|
so=y
|
||||||
|
fi
|
||||||
|
|
||||||
|
-opts='-O3'
|
||||||
|
+opts=$CFLAGS
|
||||||
|
|
||||||
|
$c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def $NOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
|
||||||
|
ar rv bin/$PLATFORM/liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
--- lp_solve_5.5/lpsolve55/ccc
|
||||||
|
+++ lp_solve_5.5/lpsolve55/ccc
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
echo '#include <stdio.h>'>>/tmp/isnan.c
|
||||||
|
echo '#include <stdlib.h>'>>/tmp/isnan.c
|
||||||
|
echo '#include <math.h>'>>/tmp/isnan.c
|
||||||
|
-echo 'main(){isnan(0);}'>>/tmp/isnan.c
|
||||||
|
+echo 'main(){isnan(0.0);}'>>/tmp/isnan.c
|
||||||
|
$c /tmp/isnan.c -o /tmp/isnan $math >/dev/null 2>&1
|
||||||
|
if [ $? = 0 ]
|
||||||
|
then NOISNAN=
|
||||||
|
--- lp_solve_5.5/lp_solve/ccc
|
||||||
|
+++ lp_solve_5.5/lp_solve/ccc
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
echo '#include <stdio.h>'>>/tmp/isnan.c
|
||||||
|
echo '#include <stdlib.h>'>>/tmp/isnan.c
|
||||||
|
echo '#include <math.h>'>>/tmp/isnan.c
|
||||||
|
-echo 'main(){isnan(0);}'>>/tmp/isnan.c
|
||||||
|
+echo 'main(){isnan(0.0);}'>>/tmp/isnan.c
|
||||||
|
$c /tmp/isnan.c -o /tmp/isnan $math >/dev/null 2>&1
|
||||||
|
if [ $? = 0 ]
|
||||||
|
then NOISNAN=
|
|
@ -0,0 +1,31 @@
|
||||||
|
# Description: Karışık Tamsayılı Lineer Programlama (MILP) çözücü
|
||||||
|
# URL: http://lpsolve.sourceforge.net/
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on:
|
||||||
|
|
||||||
|
name=lpsolve
|
||||||
|
version=5.5.2.5
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://downloads.sourceforge.net/project/lpsolve/lpsolve/5.5.2.5/lp_solve_5.5.2.5_source.tar.gz
|
||||||
|
cflags.patch
|
||||||
|
lpsolve-5.5.2.0.defines.patch)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd lp_solve_5.5
|
||||||
|
|
||||||
|
patch -Np1 -i $SRC/cflags.patch
|
||||||
|
|
||||||
|
patch -Np1 -i $SRC/lpsolve-5.5.2.0.defines.patch
|
||||||
|
cd lpsolve55
|
||||||
|
sh -x ccc
|
||||||
|
# rm bin/ux*/liblpsolve55.a
|
||||||
|
cd ../lp_solve
|
||||||
|
sh -x ccc
|
||||||
|
cd $SRC/lp_solve_5.5
|
||||||
|
install -dm755 $PKG/usr/{bin,lib,include/lpsolve}
|
||||||
|
install -m755 lp_solve/bin/ux*/lp_solve $PKG/usr/bin/
|
||||||
|
install -m755 lpsolve55/bin/ux*/liblpsolve55.so $PKG/usr/lib/
|
||||||
|
install -m644 lp*.h $PKG/usr/include/lpsolve/
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Description: basit bir eş anlamlılar listesi
|
||||||
|
# URL: http://hunspell.sourceforge.net/
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on: hunspell
|
||||||
|
|
||||||
|
name=mythes
|
||||||
|
version=1.2.4
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://downloads.sourceforge.net/project/hunspell/MyThes/1.2.4/mythes-1.2.4.tar.gz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
./configure --prefix=/usr --disable-static
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
install -m0644 -D COPYING "$PKG"/usr/share/licenses/mythes/COPYING
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
# Description: XML Güvenlik Kütüphanesi LibXML2 tabanlı bir C kütüphanesi
|
||||||
|
# URL: https://www.aleksey.com/xmlsec/index.html
|
||||||
|
# Packager: Cihan Alkan
|
||||||
|
# Depends on: libxslt nss
|
||||||
|
|
||||||
|
name=xmlsec
|
||||||
|
version=1.2.24
|
||||||
|
release=1
|
||||||
|
source=(https://www.aleksey.com/xmlsec/download/xmlsec1-$version.tar.gz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd xmlsec1-$version
|
||||||
|
./configure --prefix=/usr --disable-static
|
||||||
|
make
|
||||||
|
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
install -dm755 "$PKG"/usr/share/licenses/$name
|
||||||
|
install -m644 COPYING $PKG/usr/share/licenses/$name/
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue