mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
libnghttp2-32: new port at 1.58.0
This commit is contained in:
1
multilib/libnghttp2-32/.checksums
Normal file
1
multilib/libnghttp2-32/.checksums
Normal file
@@ -0,0 +1 @@
|
||||
4601542da69d9657072a3c5529f5c32e nghttp2-1.58.0.tar.xz
|
||||
9
multilib/libnghttp2-32/.pkgfiles
Normal file
9
multilib/libnghttp2-32/.pkgfiles
Normal file
@@ -0,0 +1,9 @@
|
||||
libnghttp2-32-1.58.0-1
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
-rw-r--r-- root/root usr/lib32/libnghttp2.a
|
||||
lrwxrwxrwx root/root usr/lib32/libnghttp2.so -> libnghttp2.so.14.25.1
|
||||
lrwxrwxrwx root/root usr/lib32/libnghttp2.so.14 -> libnghttp2.so.14.25.1
|
||||
-rwxr-xr-x root/root usr/lib32/libnghttp2.so.14.25.1
|
||||
drwxr-xr-x root/root usr/lib32/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/libnghttp2.pc
|
||||
29
multilib/libnghttp2-32/spkgbuild
Normal file
29
multilib/libnghttp2-32/spkgbuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# description : Framing layer of HTTP/2 is implemented as a reusable C library
|
||||
# homepage : https://nghttp2.org
|
||||
|
||||
name=libnghttp2-32
|
||||
version=1.58.0
|
||||
release=1
|
||||
source="https://github.com/nghttp2/nghttp2/releases/download/v$version/nghttp2-$version.tar.xz"
|
||||
|
||||
build() {
|
||||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
|
||||
|
||||
cd nghttp2-$version
|
||||
|
||||
autoreconf -i
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--host=i686-pc-linux-gnu \
|
||||
--disable-examples \
|
||||
--disable-python-bindings \
|
||||
--enable-lib-only
|
||||
make
|
||||
make DESTDIR=$PWD/DESTDIR install
|
||||
|
||||
mkdir -p $PKG/usr/lib32
|
||||
mv DESTDIR/usr/lib32/* $PKG/usr/lib32/
|
||||
}
|
||||
Reference in New Issue
Block a user