aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-31 20:58:55 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-31 20:58:55 +0000
commitf660e5fb1049a844c23c481fb2ed108b1a551bba (patch)
treee48b59a8ed0d45533ba8d7c26683087475d0504a
parentd4884490b2f549466239c0d757550dff786f0b90 (diff)
downloadslackbuilds-f660e5fb1049a844c23c481fb2ed108b1a551bba.tar.gz
slackbuilds-f660e5fb1049a844c23c481fb2ed108b1a551bba.tar.bz2
sympa update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@130 370017ae-e619-0410-ac65-c121f96126d4
-rwxr-xr-xsympa/sympa.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/sympa/sympa.SlackBuild b/sympa/sympa.SlackBuild
index b0248e4d..e9d6fe7c 100755
--- a/sympa/sympa.SlackBuild
+++ b/sympa/sympa.SlackBuild
@@ -77,21 +77,21 @@ if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
wget "$URL" -O "$SRC_DIR/$SRC"
fi
+TMP="$TMP/$PACKAGE"
+rm -rf $TMP
+mkdir -p $TMP
cd $TMP
-rm -rf package-$PACKAGE
-mkdir package-$PACKAGE
-cd package-$PACKAGE
tar xvf$tarflag $SRC_DIR/$SRC
cd $PACKAGE-$VERSION
./configure --with-initdir=/etc/rc.d/ --prefix=/usr/local/sympa --with-confdir=/usr/local/sympa/conf \
--with-etcdir=/usr/local/sympa/etc
make
-make DESTDIR=$TMP/package-$PACKAGE/$PACKAGE install | tee $TMP/package-$PACKAGE/install.log
+make DESTDIR=$TMP/package-$PACKAGE install | tee $TMP/package-$PACKAGE/install.log
CWD="`pwd`"
-cd $TMP/package-$PACKAGE/$PACKAGE
+cd $TMP/package-$PACKAGE
mv usr/local/sympa/conf/sympa.conf usr/local/sympa/conf/sympa.conf.new
mv usr/local/sympa/conf/wwsympa.conf usr/local/sympa/conf/wwsympa.conf.new