edited readme file

This commit is contained in:
max mustermann 2019-05-11 11:16:59 +02:00
parent b40b674c5c
commit fee0160e64

View File

@ -1,21 +1,54 @@
# DynuIPRefresher # DynuIPRefresher
## Build
### Linux
Download source files
`git clone https://github.com/Lukas-Heiligenbrunner/DynuIPRefresher.git` `git clone https://github.com/Lukas-Heiligenbrunner/DynuIPRefresher.git`
cd into downloaded files and Generate makefiles:
`cmake .`
compile project
`make`
install it to the system
`make install`
#### Create a Debian package
rename Project folder to lower case:
`mv DynuIPRefresher iprefresher` `mv DynuIPRefresher iprefresher`
`cd iprefresher` `cd iprefresher`
pack source in a tar.gz archive
`tar -zcvf iprefresher-1.0.tar.gz *` `tar -zcvf iprefresher-1.0.tar.gz *`
create debian/ folder and create example config files
`dh_make -f iprefresher-1.0.tar.gz` `dh_make -f iprefresher-1.0.tar.gz`
`mv iprefresher-1.0.tar.gz ../` recently packed archive is useless now, delete it
`rm iprefresher-1.0.tar.gz`
move to debian/ folder:
`cd debian` `cd debian`
remove useless files:
`rm *.ex *.EX README.Debian README.source ` `rm *.ex *.EX README.Debian README.source `
edit control file
`nano control` `nano control`
```Source: iprefresher ```Source: iprefresher
@ -32,6 +65,7 @@ Description: a dynu.net ip refresher written in c++
a dynu.net ip refresher written in c++ a dynu.net ip refresher written in c++
``` ```
buld .deb package
`dpkg-buildpackage -S -us -uc ` `dpkg-buildpackage -S -us -uc `