2015-08-01 20:54:33 +02:00
|
|
|
# Description: Filesystem utilities for btrfs
|
2021-03-08 13:30:29 +01:00
|
|
|
# URL: http://btrfs.wiki.kernel.org
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2021-12-13 18:42:01 +01:00
|
|
|
# Depends on: lzo util-linux zstd
|
2022-11-26 11:19:26 +01:00
|
|
|
# Optional: python3-sphinx
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
name=btrfs-progs
|
2022-11-26 11:19:26 +01:00
|
|
|
version=6.0.2
|
2022-11-07 13:10:35 +01:00
|
|
|
release=1
|
2022-11-26 11:19:26 +01:00
|
|
|
source=(https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v$version.tar.xz)
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
build() {
|
2017-08-20 22:06:36 +02:00
|
|
|
cd $name-v$version
|
2021-01-26 14:02:56 +01:00
|
|
|
|
2022-11-26 11:19:26 +01:00
|
|
|
prt-get isinst python3-sphinx && PKGMK_BTRFSPROGS+=' --enable-documentation' || PKGMK_BTRFSPROGS+=' --disable-documentation'
|
|
|
|
|
|
|
|
./configure $PKGMK_BTRFSPROGS \
|
2021-01-26 14:02:56 +01:00
|
|
|
--prefix=/usr \
|
2017-08-20 22:06:36 +02:00
|
|
|
--bindir=/sbin \
|
2021-01-26 14:02:56 +01:00
|
|
|
--disable-convert \
|
2021-05-13 16:09:05 +02:00
|
|
|
--disable-zoned \
|
2021-01-26 14:02:56 +01:00
|
|
|
--disable-python
|
2017-08-20 22:06:36 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2015-08-01 20:54:33 +02:00
|
|
|
}
|