Build a debian package
First create the directory structure where we can build a .deb package with this command:
For this example we are building the LinuxsatPanel plugin.
The directory structure where we will be sending the LinuxsatPanel on a linux enigma2 receiver is /usr/lib/enigma2/python/Plugins/Extensions
FTP usr directory with all its contents to /root/deb
FTP control file to /root/deb/DEBIAN (if using postinst or prerm scripts send them to the same directory).
When all of the above is in place, create the debian package like this:
# dpkg-deb -b <dir/DEBIAN> <new-package.deb>
<dir/DEBIAN> location to DEBIAN directory </root/deb>
<new-package.deb> name of your new debian package <enigma2-plugin-extensions-linuxsat-panel_1.0.deb>
The new .deb package will be found in /root directory.
Extract a debian package
FTP .deb to /root/deb directory.
Run the following command:
# dpkg-deb -x <package.deb> <dir>
<package.deb> name of the .deb package <enigma2-plugin-extensions-linuxsat-panel_1.0.deb>
<dir> directory where the .deb file is located </root/deb>
Extract control-information from a package
FTP .deb to /root/deb directory.
Run the following command:
# dpkg-deb -e <package.deb> <dir/DEBIAN>
<package.deb> name of the .deb package <enigma2-plugin-extensions-linuxsat-panel_1.0.deb>
<dir/DEBIAN> location of the DEBIAN directory </root/deb/DEBIAN>
The control file will be found in /root/deb/DEBIAN directory.