/usr/bin/hphpize is in hhvm-dev 3.21.0+dfsg-2ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/sh
if [ ! -f "config.cmake" ]; then
echo "config.cmake not found" >&2
exit 1
fi
if [ -f "$HHVM_HPHPIZE_CMAKE" ]; then
cp $HHVM_HPHPIZE_CMAKE CMakeLists.txt
else
HHVM_INSTALL_PREFIX="/usr"
HHVM_INSTALL_LIBDIR="lib/x86_64-linux-gnu"
HHVM_LIB="$HHVM_INSTALL_PREFIX/$HHVM_INSTALL_LIBDIR/hhvm"
cp "$HHVM_LIB/hphpize/hphpize.cmake" CMakeLists.txt
cp "$HHVM_LIB/hphpize/run" run-test
chmod +x run-test
fi
echo "** hphpize complete, now run \`cmake . && make\` to build, \`make test\` to test"
|