mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
office/auctex: Updated for version 11.85
This commit is contained in:
parent
1b4b15b505
commit
0d79dcb2e8
3 changed files with 14 additions and 5 deletions
|
@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -42,17 +45,21 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--infodir=/usr/info
|
--infodir=/usr/info \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
( cd $PKG
|
( cd $PKG
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||||
|
xargs strip --strip-unneeded 2> /dev/null
|
||||||
)
|
)
|
||||||
|
|
||||||
( cd $PKG/usr/man
|
( cd $PKG/usr/man
|
||||||
|
@ -72,4 +79,4 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||||
|
|
|
@ -3,6 +3,8 @@ VERSION="11.85"
|
||||||
HOMEPAGE="http://www.gnu.org/software/auctex/"
|
HOMEPAGE="http://www.gnu.org/software/auctex/"
|
||||||
DOWNLOAD="http://ftp.gnu.org/pub/gnu/auctex/auctex-11.85.tar.gz"
|
DOWNLOAD="http://ftp.gnu.org/pub/gnu/auctex/auctex-11.85.tar.gz"
|
||||||
MD5SUM="597c2adbee11877fe1f9b57baf0ba165"
|
MD5SUM="597c2adbee11877fe1f9b57baf0ba165"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Aleksandar Samardzic"
|
MAINTAINER="Aleksandar Samardzic"
|
||||||
EMAIL="asamardzic@gmail.com"
|
EMAIL="asamardzic@gmail.com"
|
||||||
APPROVED="dsomero"
|
APPROVED="dsomero"
|
||||||
|
|
|
@ -12,7 +12,7 @@ auctex: AUCTeX is an extensible package for writing and formatting TeX
|
||||||
auctex: files in GNU Emacs and XEmacs. It supports many different TeX
|
auctex: files in GNU Emacs and XEmacs. It supports many different TeX
|
||||||
auctex: macro packages, including AMS-TeX, LaTeX, Texinfo, ConTeXt, and
|
auctex: macro packages, including AMS-TeX, LaTeX, Texinfo, ConTeXt, and
|
||||||
auctex: docTeX (dtx files).
|
auctex: docTeX (dtx files).
|
||||||
auctex:
|
auctex:
|
||||||
auctex: Auctex home page is: http://www.gnu.org/software/auctex/
|
auctex: Auctex home page is: http://www.gnu.org/software/auctex/
|
||||||
auctex:
|
auctex:
|
||||||
auctex:
|
auctex:
|
||||||
|
|
Loading…
Reference in a new issue