First you add the IDR/p5p file to the repo
Note: To see how-to create a Solaris pkg click here
pkgrecv -d /var/mnt/virtlibs/1362593673064/1495c928-9096-4e11-9958-25856df9b57f/data -s /tmp/idr793.1.p5p "*" Processing packages for publisher solaris ... Retrieving and evaluating 2 package(s)... PROCESS ITEMS GET (MB) SEND (MB) Completed 2/2 48.1/48.1 103.9/103.9
Then you refresh the repo
pkgrepo refresh -s /var/mnt/virtlibs/1362593673064/1495c928-9096-4e11-9958-25856df9b57f/data Initiating repository refresh.