commit a2a5538b848135a0f695ad9da7464c601df9607e
parent b90242d105353ae51401444d61acbc7618caee82
Author: Jaromil <jaromil@dyne.org>
Date: Sat, 7 Sep 2013 17:09:07 +0200
build and install fixes on ubuntu gnu/linux
Diffstat:
3 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/build/build-gnu.sh b/build/build-gnu.sh
@@ -115,6 +115,7 @@ case $distro in
test "$target" = "all" } && {
echo "Compiling Mutt (MUA)"
pushd src/mutt-1.5.21
+ { test -r configure } || { autoreconf -i }
CC="$cc" LDFLAGS="-lm" ./configure \
--with-ssl --with-gnutls --enable-imap --disable-debug --with-slang --disable-gpgme \
--enable-hcache --with-regex --with-tokyocabinet --with-mixmaster --enable-pgp
diff --git a/install.sh b/install.sh
@@ -24,7 +24,7 @@
-JAROMAILDIR=${1-:$HOME/Mail}
+JAROMAILDIR=${1-$HOME/Mail}
source src/jaro source
@@ -253,18 +253,18 @@ cp -a src/mutt/* $MUTTDIR
${=mkdir} $WORKDIR/.stats
cp -a src/stats/* $WORKDIR/.stats
-{ test $bin = 1 } && {
- cp src/fetchaddr $WORKDIR/bin/
+{ test "$bin" = "1" } && {
+ cp -v src/fetchaddr $WORKDIR/bin/
{ test -r src/fetchdate } && {
# fetchdate is only optionally used for stats
- cp src/fetchdate $WORKDIR/bin/ }
+ cp -v src/fetchdate $WORKDIR/bin/ }
case $OS in
MAC)
- cp -r build/osx/* $WORKDIR/bin
+ cp -v -r build/osx/* $WORKDIR/bin
;;
- GNU) cp -a build/gnu/* $WORKDIR/bin
+ GNU) cp -v -a build/gnu/* $WORKDIR/bin
#rm -f $WORKDIR/bin/dotlock
#cat <<EOF > $WORKDIR/bin/dotlock
#!/usr/bin/env zsh
@@ -276,6 +276,7 @@ cp -a src/stats/* $WORKDIR/.stats
}
# generate initial configuration
+act "Refresh configuration"
MAILDIRS=$MAILDIRS WORKDIR=$WORKDIR src/jaro update -q
touch $HOME/.profile
diff --git a/src/jaro b/src/jaro
@@ -20,8 +20,8 @@
# this source code; if not, write to:
# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-VERSION=1.1
-DATE=Sept/2012
+VERSION=1.2
+DATE=Sept/2013
JAROMAILEXEC=$0
typeset -a OLDARGS
for arg in ${argv}; do OLDARGS+=($arg); done