milis/talimatname/genel/h/http-parser/talimat

22 lines
539 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: HTTP İstek/Yanıt için ayrıştırıcı
# URL: https://github.com/nodejs/http-parser
# Paketçi: Cihan_Alkan
# Gerekler:
# Grup: geliştirme
isim=http-parser
surum=2.7.1
devir=1
kaynak=(https://github.com/nodejs/http-parser/archive/v2.7.1.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
sed -i 's|-Werror||' ./Makefile
make library
make PREFIX="$PKG/usr" install
install -Dm644 LICENSE-MIT \
"${PKG}/usr/share/licenses/${isim}/LICENSE-MIT"
ln -sf libhttp_parser.so.$surum "${PKG}/usr/lib/libhttp_parser.so"
}