3 # Bundle libinih just for xfsprogs
4 export DESTDIR
="$PWD/../libinih"
8 -Ddefault_library=static \
9 -Ddistro_install=true \
10 -Dwith_INIReader=true \
11 -Dmulti-line_entries=true \
13 -Dinline_comments=true \
18 ninja
-C inih
/output
install
20 export CFLAGS
="$CFLAGS -I$PWD/../libinih/include"
21 export LDFLAGS
="$LDFLAGS -L$PWD/../libinih/lib"
23 # Remove incorrect bash dependency.
24 #sed -i 's/bash/sh/' install-sh
25 sed -e 's/bash/sh/' install-sh
> _
29 # Explicitly include <signal.h> instead of implicit inclusion.
30 #sed -i '1i#include <signal.h>' include/linux.h
31 sed -e '1i#include <signal.h>' include
/linux.h
> _
32 mv -f _ include
/linux.h
42 PKG_ROOT_SBIN_DIR
=/usr
/bin \
43 PKG_ROOT_LIB_DIR
=/usr
/lib \