source $setup tar -xf $src mv libXfixes-* xfixes mkdir build cd build PKG_CONFIG=pkg-config-cross \ ../xfixes/configure --prefix=$out $configure_flags make make install sed -i 's/Requires.private/Requires/' $out/lib/pkgconfig/*.pc ln -sf $xproto/lib/pkgconfig/*.pc $out/lib/pkgconfig/ ln -sf $fixesproto/lib/pkgconfig/*.pc $out/lib/pkgconfig/ ln -sf $libx11/lib/pkgconfig/*.pc $out/lib/pkgconfig/