enable static libfuse.a and build a fuse-static subpackage

This commit is contained in:
John Salmon 2020-05-19 18:38:27 +00:00 committed by Leo
parent 7d75430555
commit ea1dca3677

View File

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fuse
pkgver=2.9.9
pkgrel=0
pkgrel=1
pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
url="https://github.com/libfuse/libfuse/"
arch="all"
@ -9,7 +9,7 @@ license="GPL-2.0-only LGPL-2.1-only"
options="suid !check" # No test suite
depends="fuse-common"
makedepends="gettext-dev"
subpackages="$pkgname-dev $pkgname-doc"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.gz
fix-realpath.patch
"
@ -23,7 +23,7 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
--enable-static \
--enable-shared \
--disable-example \
--enable-lib \