BUILD_DIR=Linux_All_OPT.OBJ &&
version=1.7 &&
major=1 &&

install -m 755 -o root -g root ${BUILD_DIR}/js /usr/bin/ &&

install -m 644 -o root -g root ${BUILD_DIR}/libjs.so /usr/lib/libjs.so.${version} &&
ln -sf libjs.so.${version} /usr/lib/libjs.so.${major} &&
ln -sf libjs.so.${version} /usr/lib/libjs.so &&

install -m 644 -o root -g root ${BUILD_DIR}/libjs.a /usr/lib/ &&

mkdir /usr/include/js &&
install -m 644 -o root -g root *.h /usr/include/js/ &&
install -m 644 -o root -g root ${BUILD_DIR}/*.h /usr/include/js/