mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
http-parser: fix broken http-parser-devel
This commit is contained in:
parent
f387eceff1
commit
4bfa7ea576
2 changed files with 11 additions and 7 deletions
|
@ -9,26 +9,30 @@
|
||||||
LIBDIR = $(PREFIX)/lib
|
LIBDIR = $(PREFIX)/lib
|
||||||
INCLUDEDIR = $(PREFIX)/include
|
INCLUDEDIR = $(PREFIX)/include
|
||||||
|
|
||||||
@@ -112,18 +112,18 @@
|
@@ -111,19 +111,19 @@
|
||||||
|
ctags $^
|
||||||
|
|
||||||
install: library
|
install: library
|
||||||
$(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
|
- $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
|
||||||
- $(INSTALL) -D $(SONAME) $(LIBDIR)/$(SONAME)
|
- $(INSTALL) -D $(SONAME) $(LIBDIR)/$(SONAME)
|
||||||
- ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so
|
- ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so
|
||||||
|
+ $(INSTALL) -D http_parser.h $(DESTDIR)/$(INCLUDEDIR)/http_parser.h
|
||||||
+ $(INSTALL) -D $(SONAME) $(DESTDIR)/$(LIBDIR)/$(SONAME)
|
+ $(INSTALL) -D $(SONAME) $(DESTDIR)/$(LIBDIR)/$(SONAME)
|
||||||
+ ln -s $(DESTDIR)/$(LIBDIR)/$(SONAME) $(DESTDIR)/$(LIBDIR)/libhttp_parser.so
|
+ ln -s $(SONAME) $(DESTDIR)/$(LIBDIR)/libhttp_parser.so
|
||||||
|
|
||||||
install-strip: library
|
install-strip: library
|
||||||
$(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
|
- $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
|
||||||
- $(INSTALL) -D -s $(SONAME) $(LIBDIR)/$(SONAME)
|
- $(INSTALL) -D -s $(SONAME) $(LIBDIR)/$(SONAME)
|
||||||
- ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so
|
- ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so
|
||||||
|
+ $(INSTALL) -D http_parser.h $(DESTDIR)/$(INCLUDEDIR)/http_parser.h
|
||||||
+ $(INSTALL) -D -s $(SONAME) $(DESTDIR)/$(LIBDIR)/$(SONAME)
|
+ $(INSTALL) -D -s $(SONAME) $(DESTDIR)/$(LIBDIR)/$(SONAME)
|
||||||
+ ln -s $(DESTDIR)/$(LIBDIR)/$(SONAME) $(DESTDIR)/$(LIBDIR)/libhttp_parser.so
|
+ ln -s $(SONAME) $(DESTDIR)/$(LIBDIR)/libhttp_parser.so
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm $(INCLUDEDIR)/http_parser.h
|
- rm $(INCLUDEDIR)/http_parser.h
|
||||||
- rm $(LIBDIR)/$(SONAME)
|
- rm $(LIBDIR)/$(SONAME)
|
||||||
- rm $(LIBDIR)/libhttp_parser.so
|
- rm $(LIBDIR)/libhttp_parser.so
|
||||||
|
+ rm $(DESTDIR)/$(INCLUDEDIR)/http_parser.h
|
||||||
+ rm $(DESTDIR)/$(LIBDIR)/$(SONAME)
|
+ rm $(DESTDIR)/$(LIBDIR)/$(SONAME)
|
||||||
+ rm $(DESTDIR)/$(LIBDIR)/libhttp_parser.so
|
+ rm $(DESTDIR)/$(LIBDIR)/libhttp_parser.so
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'http-parser'
|
# Template file for 'http-parser'
|
||||||
pkgname=http-parser
|
pkgname=http-parser
|
||||||
version=2.5.0
|
version=2.5.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="HTTP request/response parser for c"
|
short_desc="HTTP request/response parser for c"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue