This was not trivial so I thought I would document it here.
I imagine that running ZFS and Bittorrent together is a popular scenario.
Make sure that xz and wget are installed
pkg install xz wget
Download and untar the binary
tar -xjvf transmission-2.77.tar.xz
pkg install gettext (for pkg-config)
pkg install pkg:/sfe.openindiana.org/library/libevent
pkg install pkg:/text/gnu-gettext
For whatever reason, other tools seem to install pkg-config pc files in /usr/lib/pkgconfig
The SFE package for libevent2 installs into /usr/gnu/lib/pkgconfig, so autoconf does not find it.
I "hacked" around this by moving the files and adding a symlink to make it nicer.
# cd /usr/gnu/lib
# mv pkgconfig/* /usr/lib/pkgconfig/
# rmdir pkgconfig/
# ln -s /usr/lib/pkgconfig .
Setup the path to pick up the GNU tools first
sudo make install
I have included the SMF config file I use as well as the service method shell script.
Both (I believe) are pulled from the Transmission SFE built package.
Here are the relevant commands, though a package should really be employed for this.
I may work on that later...
cp lib-svc-method-transmission /lib/svc/method/transmission
chown root:bin /lib/svc/method/transmission
chmod 755 /lib/svc/method/transmission
svccfg import transmission-daemon.xml