*) 2004-07-25
 
+- fixed unrealircd package
 - do not build linux mandocs
 - removed unneeded libmustux patch
 - fixed jack compilation
 
 # [S] 3-11
 # [D] Unreal3.2.1.tar.gz http://codercrew.org/unrealircd/
 
+xver=`echo $ver | awk -F. '{ print $1 "." $2 }'`
 # we always install ircd to /opt !
 prefix="$root/opt/unrealircd"
-srcdir="Unreal${ver}"
+srcdir="Unreal${xver}"
+
 confopt="--prefix=$prefix --sysconfdir=$root/etc/opt/unrealircd"
 confopt="$confopt --localstatedir=$root/var/opt/unrealircd"
 confopt="$confopt --oldincludedir=$prefix/include"
 confopt="$confopt --with-dpath=$root/etc/opt/unrealircd"
 confopt="$confopt --with-spath=$prefix/bin"
 # more settings optional, see ./configure --help
+
+pre_install()  {
+       mkdir -p $prefix/bin
+               }