Ultimate Goal: Add ValveSoftware/OpenVR to a PPA so that it can be installed via
$ sudo apt-get install openvr
I'm assuming this means I need to create something like an OpenVR.deb
.
Attempt: I have read the Ubuntu Packaging Guide which gives an extremely broad overview of how to get started, but it seems to assume a lot of Debian knowledge.
I know that the ultimate build command to run on someone's system should be as follows:
installOpenVR() {
cd /tmp
git clone https://github.com/ValveSoftware/openvr.git openvr
cd /tmp/openvr
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig # OpenVR's `make install` fails to run this on its own
}
This at least will depend on autotools and cmake
, so that the Depends:
field in the control
file should be adjusted accordingly.
Problem: From here's it's not so clear how to proceed. How does one create (or begin to create) an OpenVR.deb
for apt
to consume?
control
file and at least a very simple Debian buildrules
Makefile? – David Foerster Jan 13 '18 at 13:14