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
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
name=btrfs-progs
|
2023-03-27 12:34:58 +02:00
|
|
|
version=6.2.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
|
|
|
|
2023-03-02 10:16:08 +01:00
|
|
|
./autogen.sh
|
2023-03-04 10:43:46 +01:00
|
|
|
./configure \
|
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 \
|
2023-03-04 10:43:46 +01:00
|
|
|
--disable-python \
|
|
|
|
--disable-documentation
|
2017-08-20 22:06:36 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2023-03-04 10:43:46 +01:00
|
|
|
|
|
|
|
install -d $PKG/usr/share/man/man{5,8}
|
|
|
|
install -m 644 Documentation/*.5 $PKG/usr/share/man/man5
|
|
|
|
install -m 644 Documentation/*.8 $PKG/usr/share/man/man8
|
2015-08-01 20:54:33 +02:00
|
|
|
}
|