summaryrefslogtreecommitdiff
path: root/www/ruby-http-parser
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2020-01-19 08:49:21 +0000
committertaca <taca@pkgsrc.org>2020-01-19 08:49:21 +0000
commit2ca7e19a7983257d45160d77c257c3abec9fdfab (patch)
treecf4e20df323bf8f67c74b8f0161bcf6412a8d2f2 /www/ruby-http-parser
parent6b6331ab39fdc7ecfedae9d8d079138e99e45d7b (diff)
downloadpkgsrc-2ca7e19a7983257d45160d77c257c3abec9fdfab.tar.gz
www/ruby-http-parser: add version 1.2.1 package
Add ruby-http-parser version 1.2.1 package. # http-parser Ruby FFI bindings to [http-parser](https://github.com/joyent/http-parser).
Diffstat (limited to 'www/ruby-http-parser')
-rw-r--r--www/ruby-http-parser/DESCR3
-rw-r--r--www/ruby-http-parser/Makefile17
-rw-r--r--www/ruby-http-parser/PLIST21
-rw-r--r--www/ruby-http-parser/distinfo6
4 files changed, 47 insertions, 0 deletions
diff --git a/www/ruby-http-parser/DESCR b/www/ruby-http-parser/DESCR
new file mode 100644
index 00000000000..703018f04f1
--- /dev/null
+++ b/www/ruby-http-parser/DESCR
@@ -0,0 +1,3 @@
+# http-parser
+
+Ruby FFI bindings to [http-parser](https://github.com/joyent/http-parser).
diff --git a/www/ruby-http-parser/Makefile b/www/ruby-http-parser/Makefile
new file mode 100644
index 00000000000..d043570c4d1
--- /dev/null
+++ b/www/ruby-http-parser/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2020/01/19 08:49:21 taca Exp $
+
+DISTNAME= http-parser-1.2.1
+CATEGORIES= www
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/cotag/http-parser
+COMMENT= Ruby bindings to joyent/http-parser
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-ffi-compiler>=1.0:../../devel/ruby-ffi-compiler
+
+GEM_CLEANBUILD= ext/*.o
+
+.include "../../www/http-parser/buildlink3.mk"
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ruby-http-parser/PLIST b/www/ruby-http-parser/PLIST
new file mode 100644
index 00000000000..7b944dd108d
--- /dev/null
+++ b/www/ruby-http-parser/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/19 08:49:21 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_EXTSDIR}/gem.build_complete
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/ext/Rakefile
+${GEM_LIBDIR}/ext/http-parser/http_parser.c
+${GEM_LIBDIR}/ext/http-parser/http_parser.h
+${GEM_LIBDIR}/ext/${RUBY_ARCH}/libhttp-parser-ext.${RUBY_DLEXT}
+${GEM_LIBDIR}/http-parser.gemspec
+${GEM_LIBDIR}/lib/http-parser.rb
+${GEM_LIBDIR}/lib/http-parser/errors.rb
+${GEM_LIBDIR}/lib/http-parser/ext.rb
+${GEM_LIBDIR}/lib/http-parser/parser.rb
+${GEM_LIBDIR}/lib/http-parser/types.rb
+${GEM_LIBDIR}/lib/http-parser/version.rb
+${GEM_LIBDIR}/spec/error_spec.rb
+${GEM_LIBDIR}/spec/instance_spec.rb
+${GEM_LIBDIR}/spec/parser_spec.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/www/ruby-http-parser/distinfo b/www/ruby-http-parser/distinfo
new file mode 100644
index 00000000000..d6663d8697a
--- /dev/null
+++ b/www/ruby-http-parser/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/19 08:49:21 taca Exp $
+
+SHA1 (http-parser-1.2.1.gem) = 833f0ac6e0164cb3200561fa1247b7a0dd12eb37
+RMD160 (http-parser-1.2.1.gem) = f22a321e5963e5646868f68cdc572b25da5495e0
+SHA512 (http-parser-1.2.1.gem) = 0666b9ca9e03a2ec4237ec47fc203a9a5bfb4ac93dac78aacfed9b39ef00be63fd413e70f8b26d087f376c8475830c42a235c912eb84a4988952e0fc2adbfd4a
+Size (http-parser-1.2.1.gem) = 31232 bytes