You purchase a tap set for the laundry tub that has a built in trap priming nipple and then run 1/4" Polyethelyne tubing from that nipple to the trap in the floor drain.
Floor drain collars with trap primer nipples are available.
The tubing may be run under the poured concrete floor of the basement.
Each time the water is used in the laundry tub, a trickle of water is also sent to the trap, preventing it from drying out.