Closed scipio1516 closed 4 years ago
the configuration doesnt support --prefix? so it could be /usr/local/bin instead,
but much better would just be to run it using checkinstall
like:
make && sudo -k checkinstall --pkgsource="https://github.com/Attnam/ivan" --pkglicense="GPLv2" --deldesc=no --nodoc --maintainer="$USER\\<$USER@$HOSTNAME\\>" --pkgarch=$(dpkg --print-architecture) --pkgversion="0.5.4" --pkgrelease="MakeRelease" --pkgname=ivan make install # just fix the pkgversion to the correct one
one per line to read it better (just fix the pkgversion to the correct one)
make && sudo -k checkinstall \
--pkgsource="https://github.com/Attnam/ivan" \
--pkglicense="GPLv2" \
--deldesc=no \
--nodoc \
--maintainer="$USER\\<$USER@$HOSTNAME\\>" \
--pkgarch=$(dpkg --print-architecture) \
--pkgversion="0.5.4" \
--pkgrelease="MakeRelease" \
--pkgname=ivan \
make install
it will create a .deb package that can be uninstalled/upgraded easily, I dont know if it can create .rpm or other kind of packages tho...
added a note regarding permissions in the installation process.