autoconf-archive: Added.

Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
Willy Sudiarto Raharjo 2020-01-12 17:28:49 +07:00
parent cf07129fe7
commit a9d2d0c3df
No known key found for this signature in database
GPG key ID: 887B8374D7333381
6 changed files with 126 additions and 8 deletions

View file

@ -1,6 +0,0 @@
New Packages in MATE 1.22:
Renamed Packages in MATE 1.22:
Packages removed in MATE 1.22:
mate-icon-theme-faenza

6
MATE-1.23-CHANGES.TXT Normal file
View file

@ -0,0 +1,6 @@
New Packages in MATE 1.23:
autoconf-archive
Renamed Packages in MATE 1.23:
Packages removed in MATE 1.23:

View file

@ -11,3 +11,5 @@ This is a list of dependencies for the packages in the /extra directory.
5. extra/atril requires deps/libgxps 5. extra/atril requires deps/libgxps
6. extra/pluma requires deps/libpeas 6. extra/pluma requires deps/libpeas
7. extra/mate-sensors requires deps/autoconf-archive

View file

@ -19,7 +19,7 @@ is MATE version 1.18, released in March 2017. Checkout that branch using 'git
checkout 14.2-mate-1.18' to build from the stable MSB branch. checkout 14.2-mate-1.18' to build from the stable MSB branch.
The rest of this README.TXT is specific to building from the 'master' The rest of this README.TXT is specific to building from the 'master'
branch which will build MATE 1.20, released on February 2018. branch which will build MATE 1.23, which is a development version of MATE.
How to build and install the MATE packages using these scripts: How to build and install the MATE packages using these scripts:
@ -33,7 +33,7 @@ Please use "su" or "su -" to build as root instead of using "sudo".
and install all the base (required) packages. There are a total of 24 packages and install all the base (required) packages. There are a total of 24 packages
and they do not replace any stock Slackware packages. The SlackBuilds will use and they do not replace any stock Slackware packages. The SlackBuilds will use
wget to download the sources. Or, you can also manually download the wget to download the sources. Or, you can also manually download the
sources from: http://pub.mate-desktop.org/releases/1.20 and the download sources from: http://pub.mate-desktop.org/releases/1.23 and the download
locations for each dependency and put each source into the corresponding locations for each dependency and put each source into the corresponding
directory within 'base' and 'deps'. directory within 'base' and 'deps'.

View file

@ -0,0 +1,104 @@
#!/bin/sh
# Slackware build script for autoconf-archive
# Copyright 2016-2020 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=autoconf-archive
VERSION=${VERSION:-2019.01.06}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
wget -c http://ftp.wayne.edu/gnu/autoconf-archive/$PRGNAM-$VERSION.tar.xz
CWD=$(pwd)
TMP=${TMP:-/tmp/msb}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING* INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/info/
rm -rf $PKG/usr/share/$PRGNAM
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}

12
deps/autoconf-archive/slack-desc vendored Normal file
View file

@ -0,0 +1,12 @@
|-----handy-ruler------------------------------------------------------|
autoconf-archive: autoconf-archive (Autoconf macros)
autoconf-archive:
autoconf-archive: autoconf-archive contains collection of freely re-usable Autoconf
autoconf-archive: macros
autoconf-archive:
autoconf-archive:
autoconf-archive: Project URL: https://www.gnu.org/software/autoconf-archive/
autoconf-archive:
autoconf-archive:
autoconf-archive:
autoconf-archive: