summaryrefslogblamecommitdiff
path: root/user/http-parser/APKBUILD
blob: fd3fb7da4e9a0868fab698faf60f87d9a548fe8f (plain) (tree)
1
2
3
4


                                                  
            

























                                                                                                  
                                                                                                                                                                       
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=http-parser
pkgver=2.9.1
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="110a1861666cdd45857c3ab0e9bf8a3eb9d98f86fe001f7c620009e13186377de805d295f7751921cd5c9d4c2781807b3ae00f939af04d7365a3a45aa20b5052  http-parser-2.9.1.tar.gz"