fixed unrealircd package
authorhackbard <hackbard>
Sun, 25 Jul 2004 03:21:46 +0000 (03:21 +0000)
committerhackbard <hackbard>
Sun, 25 Jul 2004 03:21:46 +0000 (03:21 +0000)
doc/CHANGELOG
packages/optional/unrealircd/unrealircd

index f67c2d9..43028d6 100644 (file)
@@ -1,5 +1,6 @@
 *) 2004-07-25
 
+- fixed unrealircd package
 - do not build linux mandocs
 - removed unneeded libmustux patch
 - fixed jack compilation
index 7a4b3e0..105f766 100644 (file)
@@ -6,9 +6,11 @@
 # [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"
@@ -18,3 +20,7 @@ confopt="$confopt --enable-dynamic-linking"
 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
+               }