supranational / blst

Multilingual BLS12-381 signature library
Apache License 2.0
463 stars 178 forks source link

Add build/pkg-install.sh. #196

Open dot-asm opened 11 months ago

dot-asm commented 11 months ago

Compile latest release tag and install it as pkg-config package.

dot-asm commented 11 months ago

To give it a shot execute following commands

mkdir -p /tmp/foo/include
mkdir -p /tmp/foo/lib/pkgconfig
curl -sSf https://raw.githubusercontent.com/dot-asm/blst/pkg-install.sh/build/pkg-install.sh | env PKG_CONFIG_PATH=/tmp/foo/lib/pkgconfig sh`

Examine /tmp/foo tree structure and cleanup as deemed appropriate.

arrowd commented 8 months ago

Bumped into this when porting libblst to FreeBSD. For now I just added my own .pc file to the downstream package, so it'd be great to have this PR merged in.