summaryrefslogtreecommitdiff
path: root/user/http-parser/APKBUILD
blob: cc6281b9874010aed418f39fb9fca109a466e6ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=http-parser
pkgver=2.9.4
pkgrel=0
pkgdesc="Library for parsing HTTP messages in C"
url=" "
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="http-parser-$pkgver.tar.gz::https://github.com/nodejs/http-parser/archive/v$pkgver.tar.gz
	remove-bogus-sizeof-test.patch
	"

build() {
	make
}

check() {
	true  # tested as part of build.
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="b45df7b94d1c51079d44687d0a7f901f44faae51df4e84c7e3fe38f130c2d809d0e7c2a146c57b3723e60732aededc246bf44eadb10a95b710963d641f9fe7cd  http-parser-2.9.4.tar.gz
aaf666728ab860a19398a631276d7caaf696d29bfbce39408bbcd65775f23d452e477af481333631b8dd07eacb8ba44fb4c58d1216dc5fb0dfac88062c7f478b  remove-bogus-sizeof-test.patch"