25 lines
628 B
Bash
Executable file
25 lines
628 B
Bash
Executable file
#!/bin/bash
|
|
|
|
XORGMACROS_REPO="https://gitlab.freedesktop.org/xorg/util/macros.git"
|
|
XORGMACROS_COMMIT="0326ba3c4caa34116c0e7e4af98661858cf25d1c"
|
|
|
|
ffbuild_enabled() {
|
|
[[ $TARGET != linux* ]] && return -1
|
|
return 0
|
|
}
|
|
|
|
ffbuild_dockerlayer() {
|
|
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
|
|
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/share/aclocal/. /usr/share/aclocal"
|
|
}
|
|
|
|
ffbuild_dockerbuild() {
|
|
git-mini-clone "$XORGMACROS_REPO" "$XORGMACROS_COMMIT" xorg-macros
|
|
cd xorg-macros
|
|
|
|
autoreconf -i
|
|
./configure --prefix="$FFBUILD_PREFIX"
|
|
make -j"$(nproc)"
|
|
make install
|
|
}
|