blob: de3af464c26ea78414e025f192075a0be1a0d2c8 (
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.0
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"
build() {
cd "$builddir"
make
}
check() {
cd "$builddir"
true # tested as part of build.
}
package() {
cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
sha512sums="40acecbf71b9f0b4ae857c74c3ec0784d7f341a0cb83cf82b308387d0c5b56d38b282241aaf8ca93816970f2a9e67989f3d9d456459f3986c29fe51ab520155e http-parser-2.9.0.tar.gz"
|