Commit adb195c5 authored by Valery Kartel's avatar Valery Kartel Committed by Natanael Copa

main/btrfs-progs: some fixes in APKBUILD. libraries moved to -libs subpackage

- remove unnecessary parameters in ./configure & make install
- don't know why libraries was in -dev subpackage. Move it to -libs subpackage
parent 02e4b5be
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=btrfs-progs
pkgver=4.3.1
pkgrel=0
pkgrel=1
pkgdesc="Tools for the btrfs"
url="https://btrfs.wiki.kernel.org/"
arch="all"
......@@ -12,8 +13,8 @@ makedepends="util-linux-dev bash attr-dev acl-dev e2fsprogs-dev zlib-dev
lzo-dev asciidoc xmlto linux-headers
autoconf automake libtool"
install=
subpackages="$pkgname-doc $pkgname-dev $pkgname-bash-completion:completion"
source="https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${pkgver}.tar.xz
subpackages="$pkgname-doc $pkgname-dev $pkgname-bash-completion:completion $pkgname-libs"
source="https://www.kernel.org/pub/linux/kernel/people/kdave/$pkgname/$pkgname-v$pkgver.tar.xz
includes.patch
musl-compat.patch
0001-use-pthread_join-instead-of-pthread_tryjoin_np.patch
......@@ -36,7 +37,6 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
--disable-backtrace \
|| return 1
make || return 1
......@@ -44,12 +44,7 @@ build() {
package() {
cd "$_builddir"
make -j1 prefix=/usr mandir=/usr/share/man DESTDIR="$pkgdir" install || return 1
}
dev() {
default_dev || return 1
mv "$pkgdir"/usr/lib/*.so* "$subpkgdir"/usr/lib
make -j1 DESTDIR="$pkgdir" install || return 1
}
completion() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment