Here are my build scripts for Slackware current. These are hosted on slackbuilds.org so you should grab them there.