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
|
|
|
|
# Depends on: lzo zstd util-linux
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
name=btrfs-progs
|
2021-07-14 15:26:51 +02:00
|
|
|
version=5.13
|
2018-04-08 15:39:04 +02:00
|
|
|
release=1
|
2017-08-20 22:06:36 +02: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
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2017-08-20 22:06:36 +02:00
|
|
|
--bindir=/sbin \
|
2018-03-15 21:55:55 +01:00
|
|
|
--disable-documentation \
|
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
|
|
|
|
|
2021-01-26 14:02:56 +01:00
|
|
|
install -d $PKG/usr/share/man/{man5,man8}
|
2018-12-04 20:05:43 +01:00
|
|
|
install -m644 Documentation/*.5 $PKG/usr/share/man/man5/
|
|
|
|
install -m644 Documentation/*.8 $PKG/usr/share/man/man8/
|
2018-03-15 21:55:55 +01:00
|
|
|
|
|
|
|
#btrfs-convert disabled
|
2018-12-04 20:05:43 +01:00
|
|
|
rm $PKG/usr/share/man/man8/btrfs-convert.8
|
2015-08-01 20:54:33 +02:00
|
|
|
}
|