aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-06-12 22:13:10 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-06-12 22:13:57 +0200
commitddd7c77336c36d068a8fc3ef7d053746797ab535 (patch)
tree0de47caf50a5a7ed9076bc921ba7488b27b7890b /testing
parent334df784d9f221aaaad97b77f1ed6f623de41836 (diff)
downloadaports-ddd7c77336c36d068a8fc3ef7d053746797ab535.tar.bz2
aports-ddd7c77336c36d068a8fc3ef7d053746797ab535.tar.xz
testing/http-parser: upgrade to 2.7.0
Diffstat (limited to 'testing')
-rw-r--r--testing/http-parser/APKBUILD26
1 files changed, 7 insertions, 19 deletions
diff --git a/testing/http-parser/APKBUILD b/testing/http-parser/APKBUILD
index 6905b211c4..1b35deb17f 100644
--- a/testing/http-parser/APKBUILD
+++ b/testing/http-parser/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=http-parser
-pkgver=2.6.2
+pkgver=2.7.0
pkgrel=0
pkgdesc="HTTP request/response parser for C"
url="https://github.com/nodejs/http-parser"
@@ -10,7 +10,6 @@ license="MIT"
depends=""
makedepends=""
subpackages="$pkgname-dev"
-
# Note: All the patches are copied from Gentoo ebuild.
# upstream: https://github.com/nodejs/http-parser/pull/272
source="$pkgname-$pkgver.tar.gz::https://github.com/nodejs/$pkgname/archive/v$pkgver.tar.gz
@@ -20,42 +19,31 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/nodejs/$pkgname/archive/v$pk
0004-makefile-add-CFLAGS-to-linking-command.patch
0005-makefile-fix-install-rule-dependency.patch
"
-
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- cd "$_builddir"
-
- local file; for file in $source; do
- case $file in
- *.patch) msg $file; patch -p1 -i "$srcdir"/$file || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
make library
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make install DESTDIR="$pkgdir" PREFIX="/usr"
}
-md5sums="bcb0b4845b38404590c7197761bfa7b9 http-parser-2.6.2.tar.gz
+md5sums="335f0a0748684640078474c897d87804 http-parser-2.7.0.tar.gz
f6d5377fd3b5c91422bb2dcc2c4dce6c 0001-makefile-fix-DESTDIR-usage.patch
859eff808165458c797353f0306ebc65 0002-makefile-quote-variables.patch
8aea7eb27ae19ede7c8aed3d41c86d84 0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch
23d1e43dbf2deffb38488d54cce62f96 0004-makefile-add-CFLAGS-to-linking-command.patch
fd7ffe7e725f866232f3b2850d164256 0005-makefile-fix-install-rule-dependency.patch"
-sha256sums="80fffc3b64ef6968cecdd4b299a96986007dff4bd12ae6c58cbcb506959b90ad http-parser-2.6.2.tar.gz
+sha256sums="b0c5bf03fe9a57c4e63760d19d5a51d3063e0502cae54b3a8f2f6c6eb6911167 http-parser-2.7.0.tar.gz
785012d9e0efb70c4dcc137f354ab57afabdcb0fb7c8cb2580c3c4a7e9add330 0001-makefile-fix-DESTDIR-usage.patch
80fdf673731f27f328d45f4da7daa613613d8db40f1dc84d2ce65fad0130c054 0002-makefile-quote-variables.patch
9854f5f205ec0959cc10cab80d16ff54f33a9979e5fd310ba9a4624b60c84ee9 0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch
e69fa304327dbb0626edaf147b73dc9fb4718b656b225794a04937206929c0df 0004-makefile-add-CFLAGS-to-linking-command.patch
04898654adef3f3dbf1e29e66f8e9fc4467f68389e224beb03387d33ee263212 0005-makefile-fix-install-rule-dependency.patch"
-sha512sums="e19e5377b3eb7f149c428196826fb878564fdfa3716ff6df5a3845c51586aee0582e252e09d1f8ebad1163b3e66632ff0c6e78f6acb2f0da20d7a06e734406c1 http-parser-2.6.2.tar.gz
+sha512sums="1fe13b5366e9d161dbce2f6ad340890713413e4c5865d2567cb5ccf5601a52bc03682ecc43bc4e2c5ee9c4f152993a658d87fd43373070da67530c58ad577ee1 http-parser-2.7.0.tar.gz
ebb481df21cb312824ed65e7d6a3e7b237451071235566595da97c09b165767693ec3c47c27c451bfbdc2d62cc45c7d5d9f996b80789dc7fedaa2543c94c9065 0001-makefile-fix-DESTDIR-usage.patch
3637abedbf330af0f4a9721081db99fe0f6400322f21f77ab16d580546a9d200d40bc584e8dbb51adec249c2d468730c6e2487ccda3786626909d988b7f8856a 0002-makefile-quote-variables.patch
8202d665963234ce6dd84439f281921cb959424024c2fec8a27b65693b3466cab8674a3549d22fdb2fc07edf69f94440368ef77738ae4be2a5d94c13e3c814bb 0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch