Commit d6307bcb authored by Natanael Copa's avatar Natanael Copa

testing/raptor: remove *.la, buildfix for curl

parent 470fc123
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=raptor
pkgver=1.4.21
pkgrel=0
pkgrel=1
pkgdesc="RDF parsing/storage backend"
url="http://www.librdf.org/"
arch="all"
......@@ -12,7 +12,8 @@ depends_dev="curl-dev libxml2-dev libxslt-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.librdf.org/source/raptor-$pkgver.tar.gz"
source="http://download.librdf.org/source/raptor-$pkgver.tar.gz
raptor-curl.patch"
_builddir="$srcdir"/raptor-$pkgver
prepare() {
......@@ -39,6 +40,8 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
md5sums="992061488af7a9e2d933df6b694bb876 raptor-1.4.21.tar.gz"
md5sums="992061488af7a9e2d933df6b694bb876 raptor-1.4.21.tar.gz
ab48372dcd90a599fb0da73a10830d79 raptor-curl.patch"
diff --git a/src/raptor_internal.h b/src/raptor_internal.h
index f7944db..d9c2068 100644
--- a/src/raptor_internal.h
+++ b/src/raptor_internal.h
@@ -852,7 +852,6 @@ int raptor_utf8_is_nfc(const unsigned char *input, size_t length);
#ifdef RAPTOR_WWW_LIBCURL
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment