raptor2: Place in proper folder. Initial fix for building shared library.

This commit is contained in:
Alexey Pavlov
2016-01-28 14:36:01 +03:00
parent 1d23b3be69
commit ca876a28f8
2 changed files with 18 additions and 2 deletions

View File

@@ -9,14 +9,19 @@ pkgdesc="RDF Parser Toolkit (mingw-w64)"
arch=('any')
url='http://librdf.org/raptor/'
license=('LICENSE')
source=("http://download.librdf.org/source/${_realname}-${pkgver}.tar.gz")
sha1sums=("504231f87024df9aceb90eb957196b557b4b8e38")
source=("http://download.librdf.org/source/${_realname}-${pkgver}.tar.gz"
no-undefined.patch)
sha1sums=('504231f87024df9aceb90eb957196b557b4b8e38'
'9c7008807ad3eda1d42204bc98c6ce1287d8e6f5')
depends=("${MINGW_PACKAGE_PREFIX}-libxml2"
"${MINGW_PACKAGE_PREFIX}-curl")
prepare() {
cd $srcdir/${_realname}-${pkgver}
patch -p1 -i ${srcdir}/no-undefined.patch
autoreconf -fiv
}
build() {

View File

@@ -0,0 +1,11 @@
--- raptor2-2.0.15/src/Makefile.am.orig 2016-01-27 13:33:28.602246500 +0300
+++ raptor2-2.0.15/src/Makefile.am 2016-01-27 13:33:37.351634000 +0300
@@ -171,7 +171,7 @@
libraptor2_la_LIBADD += $(top_builddir)/librdfa/librdfa.la
endif
-libraptor2_la_LDFLAGS = -version-info @RAPTOR_LIBTOOL_VERSION@ \
+libraptor2_la_LDFLAGS = -version-info @RAPTOR_LIBTOOL_VERSION@ -no-undefined \
@RAPTOR_LDFLAGS@ $(MEM_LIBS)
libraptor2_la_LIBADD += @LTLIBOBJS@