summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/http-parser/http-parser-1.0_pre20120413.ebuild')
-rw-r--r--net-libs/http-parser/http-parser-1.0_pre20120413.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/net-libs/http-parser/http-parser-1.0_pre20120413.ebuild b/net-libs/http-parser/http-parser-1.0_pre20120413.ebuild
index 1d77d872a..1b282dd0b 100644
--- a/net-libs/http-parser/http-parser-1.0_pre20120413.ebuild
+++ b/net-libs/http-parser/http-parser-1.0_pre20120413.ebuild
@@ -8,7 +8,7 @@ inherit eutils multilib toolchain-funcs
DESCRIPTION="A parser for HTTP messages written in C. It parses both requests and responses"
HOMEPAGE="https://github.com/joyent/http-parser"
-SRC_URI="https://github.com/downloads/hasufell/tinkerbox/${P}.tar.gz"
+SRC_URI="mirror://github/hasufell/tinkerbox/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -16,7 +16,6 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
- # fix SONAME/LDFLAGS
epatch "${FILESDIR}"/20120413-makefile.patch
}
@@ -28,9 +27,6 @@ src_compile() {
src_install() {
insinto /usr/include/${PN}
doins http_parser.h
- newlib.so libhttp_parser.so libhttp_parser.so.1.0
- dosym libhttp_parser.so.1.0 /usr/$(get_libdir)/libhttp_parser.so.1
- dosym libhttp_parser.so.1.0 /usr/$(get_libdir)/libhttp_parser.so
-
+ dolib.so libhttp_parser.so
newdoc README.md README
}