mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-12 15:51:59 +00:00
update instructions for autotools
This commit is contained in:
parent
d45cb7ef3a
commit
12193e473c
1 changed files with 25 additions and 7 deletions
32
README.md
32
README.md
|
@ -26,16 +26,34 @@ The MiracleCast projects requires the following software to be installed:
|
|||
|
||||
## Install
|
||||
|
||||
To compile MiracleCast, run the standard autotools commands:
|
||||
To compile MiracleCast, you can choose from [autotools](http://en.wikipedia.org/wiki/GNU_build_system) or [cmake](http://en.wikipedia.org/wiki/CMake):
|
||||
|
||||
|
||||
Autotools:
|
||||
|
||||
$ ./autogen.sh
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ ../configure --prefix=/usr/local #avoid --prefix for a standard install
|
||||
|
||||
Cmake:
|
||||
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
|
||||
Compile
|
||||
|
||||
```bash
|
||||
$ test -f ./configure || NOCONFIGURE=1 ./autogen.sh
|
||||
$ ./configure --prefix=/usr/local
|
||||
$ make
|
||||
|
||||
Test
|
||||
|
||||
$ make check #only with autotools by now
|
||||
|
||||
Install
|
||||
|
||||
$ sudo make install
|
||||
To compile and run the test applications, use:
|
||||
$ make check
|
||||
```
|
||||
|
||||
### Ubuntu
|
||||
|
||||
This specific linux flavour is so hard to get miraclecast dependencies that an alternative repo was created to install systemd with dbus
|
||||
|
|
Loading…
Reference in a new issue