Hi rufwoof. It is safer to make the makefile shift paths for you. With make based build usually it takes a combination of PREFIX and DESTDIR.rufwoof wrote:Oh I get that step, instead for example in the case of syncterm the mkdir /syncterm;make DESTDIR=/syncterm install;cd /syncterm;makepkg -c n -l n /tmp/syncterm-1.0-x86_64-1.tgz type make package process results in a .tgz with a /usr/local/share/applications location for the syncterm.desktop file (and other files) instead of /usr/share/applications that I'd more usually use - and that I believe fatdog actually uses.step wrote:Thank you, rufwoof. If you want to find out how to make packages for fatdog, it's explained in the (markdown) FAQ entry "How to make packages for Fatdog64".
My inclination is to just shift the /usr/local/share... over to /usr/share... but that could break things ???
This set of commands compiled syncterm and installed it under /usr/bin /usr/share for me. The SRC_ROOT variable comes from reading file COMPILING.
Code: Select all
wget --xattr -c wget http://www.balcos.net/bbs/syncterm-1.0.tgz
uextract syncterm-1.0.tgz
cd syncterm-1.0.tgz.extracted/syncterm-1.0/src/syncterm/
mkdir syncterm-1.0-x86_64
make SRC_ROOT=`realpath ..` DESTDIR=syncterm-1.0-x86_64 PREFIX=/usr
make SRC_ROOT=`realpath ..` DESTDIR=syncterm-1.0-x86_64 PREFIX=/usr install
cd syncterm-1.0-x86_64/
mkdir install
slackdesc syncterm 1.0 "(BBS)" "Syncterm is a BBS terminal program." "http://www.balcos.net/bbs" | tee install/slack-desc
makepkg -c n -l n `pwd`.txz
installpkg ../syncterm-1.0-x86_64.txz
man syncterm
syncterm
less /usr/share/applications/syncterm.desktop