This is how I build my package. I think this should work with Ubuntu, but I use Debian. Hopefully an Ubuntu user will report whether this works or not. You need to have deb-src lines in your /etc/apt/sources.list to download package sources. You'll have a bunch of files, so I suggest you make a directory to contain them.
apt-get source mail-notification
sudo apt-get build-dep mail-notification
sudo apt-get install libssl-dev
(this was removed from the build dependencies)
cd mail-notification-5.4.dfsg.1
(the name of this directory may be different on your system)
Edit debian/rules. Search for "ssl=no" and change it to "ssl=yes". You can change the version number in debian/changelog if you want to. I append ".0.ssl" to it so updates are not blocked.
This is how I build my package. I think this should work with Ubuntu, but I use Debian. Hopefully an Ubuntu user will report whether this works or not. You need to have deb-src lines in your /etc/apt/ sources. list to download package sources. You'll have a bunch of files, so I suggest you make a directory to contain them.
apt-get source mail-notification on-5.4. dfsg.1
sudo apt-get build-dep mail-notification
sudo apt-get install libssl-dev
(this was removed from the build dependencies)
cd mail-notificati
(the name of this directory may be different on your system)
Edit debian/rules. Search for "ssl=no" and change it to "ssl=yes". You can change the version number in debian/changelog if you want to. I append ".0.ssl" to it so updates are not blocked.
dpkg-buildpackage -b -us -uc -tc on*.deb
cd ..
sudo dpkg -i mail-notificati