We are trying to create a custom debian package and trying to create custom apt-get repository. For this we did the following:
- In ~ directory extracted the source file called monitor-0.1+monitor1.0.0.tar.gz
- cd monitor-0.1+monitor1.0.0
- then we run this command dh_make -e [email protected] -f ../monitor-0.1+monitor1.0.0.tar.gz
- It created debian folder and changed control file and changelog file
The control file is as follows:
Source: monitor Section: base Priority: extra Maintainer: root Build-Depends: debhelper (>= 8.0.0) Standards-Version: 3.9.2 Package: monitor Architecture: any Depends: mono-runtime, ${shlibs:Depends}, ${misc:Depends} Description: Monitor tool
Then in ~/monitor-0.1+monitor1.0.0 directory we executed this command: dpkg-buildpackage -rfakeroot
After execution in ~ it created following files
monitor_0.1+monitor1.0.0-1_amd64.changes
monitor_0.1+monitor1.0.0-1_amd64.deb
monitor_0.1+monitor1.0.0-1.debian.tar.gz
monitor_0.1+monitor1.0.0-1.dsc
Then we tried installing this deb package and also tried extracting this monitor_0.1+monitor1.0.0-1_amd64.deb file it does'nt have monitor directory it only have /usr/share/doc/monitor folder.
Can anyone please guide us on this. We are first time doing this.
Thanks
dpkg -i monitor_0.1+monitor1.0.0-1_amd64.deb
?