aboutsummaryrefslogtreecommitdiff
path: root/community/btrfs-progs/build
blob: 4bf82ac2e84c774e91d740fc073f10fa1465e587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

sed -i '/#include/a #include <limits.h>' cmds/filesystem-usage.c
sed -i '/sysinfo\.h/d' common/utils.c

./configure \
    --prefix=/usr \
    --bindir=/usr/bin \
    --disable-documentation \
    --disable-backtrace \
    --disable-zstd

make
make DESTDIR="$1" install