http-parser: update to 2.8.0. (soname bump)

This commit is contained in:
Michael Gehring 2018-02-10 10:52:43 +00:00
parent 26eab76799
commit 08506a2f40
3 changed files with 3 additions and 39 deletions

View File

@ -2097,7 +2097,7 @@ libkasten3okteta1core.so.1 okteta5-17.08.3_1
libkasten3okteta1gui.so.1 okteta5-17.08.3_1
libokteta2core.so.2 okteta5-17.08.3_1
libokteta2gui.so.2 okteta5-17.08.3_1
libhttp_parser.so.2.7.1 http-parser-2.7.1_1
libhttp_parser.so.2.8 http-parser-2.8.0_1
libmaa.so.3 libmaa-1.3.2_1
libcodeblocks.so.0 codeblocks-13.12_1
liblept.so.5 leptonica-1.73_1

View File

@ -1,36 +0,0 @@
--- Makefile.orig 2015-10-29 05:47:12.000000000 +0100
+++ Makefile 2015-10-30 06:13:29.642432556 +0100
@@ -55,7 +55,7 @@ CFLAGS_LIB = $(CFLAGS_FAST) -fPIC
LDFLAGS_LIB = $(LDFLAGS) -shared
INSTALL ?= install
-PREFIX ?= $(DESTDIR)/usr/local
+PREFIX ?= /usr/local
LIBDIR = $(PREFIX)/lib
INCLUDEDIR = $(PREFIX)/include
@@ -123,17 +123,17 @@ tags: http_parser.c http_parser.h test.c
ctags $^
install: library
- $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
- $(INSTALL) -D $(SONAME) $(LIBDIR)/$(SONAME)
- ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT)
+ $(INSTALL) -D http_parser.h $(DESTDIR)/$(INCLUDEDIR)/http_parser.h
+ $(INSTALL) -D $(SONAME) $(DESTDIR)/$(LIBDIR)/$(SONAME)
+ ln -sr $(DESTDIR)/$(LIBDIR)/$(SONAME) $(DESTDIR)/$(LIBDIR)/libhttp_parser.$(SOEXT)
install-strip: library
- $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
- $(INSTALL) -D -s $(SONAME) $(LIBDIR)/$(SONAME)
- ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT)
+ $(INSTALL) -D http_parser.h $(DESTDIR)/$(INCLUDEDIR)/http_parser.h
+ $(INSTALL) -D -s $(SONAME) $(DESTDIR)/$(LIBDIR)/$(SONAME)
+ ln -sr $(DESTDIR)/$(LIBDIR)/$(SONAME) $(DESTDIR)/$(LIBDIR)/libhttp_parser.$(SOEXT)
uninstall:
- rm $(INCLUDEDIR)/http_parser.h
+ rm $(DESTDIR)/$(INCLUDEDIR)/http_parser.h
rm $(LIBDIR)/$(SONAME)
rm $(LIBDIR)/libhttp_parser.so

View File

@ -1,6 +1,6 @@
# Template file for 'http-parser'
pkgname=http-parser
version=2.7.1
version=2.8.0
revision=1
build_style=gnu-makefile
short_desc="HTTP request/response parser for c"
@ -8,7 +8,7 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/joyent/http-parser"
distfiles="$homepage/archive/v${version}.tar.gz"
checksum=70409ad324e5de2da6a0f39e859e566d497c1ff0a249c0c38a5012df91b386b3
checksum=7277c6f99bf6fc272eb5d8fc3dca01e7cc1d4ae609b5d2c5d5e18added98479d
make_build_target=library
pre_install() {