# by z411
d0=$(pwd)
+cjobs=$(($(nproc) + 1))
echo "Working directory is $d0"
require () {
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_PREFIX="$pkg_dir" \
-G"Unix Makefiles" "$this_src"
- make
+ make -j${cjobs}
make install
}
--enable-fat \
--disable-static \
--enable-shared
- make
+ make -j${cjobs}
make install
}
"$src_dir/d0_blind_id/configure" --with-pic \
--prefix="$pkg_dir" \
--host="$CHOST"
- make
+ make -j${cjobs}
make install
}
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_PREFIX="$pkg_dir" \
-G"Unix Makefiles" "$this_src"
- make
+ make -j${cjobs}
make install
}
-DOGG_LIBRARY="$pkg_dir/lib/libogg.dll.a" \
-DCMAKE_INSTALL_PREFIX="$pkg_dir" \
-G"Unix Makefiles" "$this_src"
- make
+ make -j${cjobs}
make install
}
--disable-sdltest \
--disable-vorbistest \
--disable-oggtest
- make
+ make -j${cjobs}
make install
}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$pkg_dir" \
-G"Unix Makefiles" "$this_src"
- make
+ make -j${cjobs}
make install
}
-DZLIB_LIBRARY="$pkg_dir/lib/libzlib.dll.a" \
-DCMAKE_INSTALL_PREFIX="$pkg_dir" \
-G"Unix Makefiles" "$this_src"
- make
+ make -j${cjobs}
make install
}
-DENABLE_STATIC=OFF \
-DWITH_TURBOJPEG=OFF \
-G"Unix Makefiles" "$this_src"
- make
+ make -j${cjobs}
make install
}
-DBUILD_CURL_EXE=OFF \
-DHTTP_ONLY=ON \
-G"Unix Makefiles" "$this_src"
- make
+ make -j${cjobs}
make install
}