Kusalananda's answer is the better approach generally; but in netatalk's case, upgrading the package to a newer version seems rather complex (at least, in the context of a distribution).
Now that you've installed your locally-built version of netatalk, I would recommend the following approach (I'm assuming you extracted netatalk to a directory called netatalk-3.1.8, and built and installed it from there):
This last step will install the binaries copied across in the pre-built source from your first Raspberry Pi (which shouldn't require any -dev package), and build a .deb package out of it. You can then copy the .deb package to other Raspberry Pi systems...
I'm not sure how well this will work if any of the required libraries are missing, so you may want to run ldd on the binaries on your first Raspberry Pi beforehand, and make sure that the corresponding lib... packages (not -dev!) are installed on the second one.
There's a simpler variant if the netatalk Makefile has a working uninstall target: in that case, on the first Raspberry Pi,
That way you know that the required libraries are already installed, and the resulting .deb should have the appropriate dependencies.
If checkinstall doesn't work, there's always the pre-built tarball approach:
tar up the source (and binaries built in the source tree);
- copy the tarball to the other Raspberry Pis;
- on each Raspberry Pi, run
make install;
- make a note of the libraries you need to install separately to get everything working.