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 10:19:26 +00:00
|
|
|
# Optional: python3-sphinx
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
name=btrfs-progs
|
2023-03-02 10:16:08 +01:00
|
|
|
version=6.2
|
2022-11-07 13:10:35 +01:00
|
|
|
release=1
|
2022-11-26 10:19:26 +00: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 10:19:26 +00:00
|
|
|
prt-get isinst python3-sphinx && PKGMK_BTRFSPROGS+=' --enable-documentation' || PKGMK_BTRFSPROGS+=' --disable-documentation'
|
|
|
|
|
2023-03-02 10:16:08 +01:00
|
|
|
./autogen.sh
|
2022-11-26 10:19:26 +00:00
|
|
|
./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 14:09:05 +00: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
|
|
|
}
|