diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2009-08-26 10:00:38 -0500 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:41:17 +0200 |
commit | 5a12e7c134274dba706667107d10d231517d3e05 (patch) | |
tree | 55718d5acb710fde798d9f38d0bbaf594ed4b296 /source/d/automake | |
download | current-5a12e7c134274dba706667107d10d231517d3e05.tar.gz current-5a12e7c134274dba706667107d10d231517d3e05.tar.xz |
Slackware 13.0slackware-13.0
Wed Aug 26 10:00:38 CDT 2009
Slackware 13.0 x86_64 is released as stable! Thanks to everyone who
helped make this release possible -- see the RELEASE_NOTES for the
credits. The ISOs are off to the replicator. This time it will be a
6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We're taking pre-orders now at store.slackware.com. Please consider
picking up a copy to help support the project. Once again, thanks to
the entire Slackware community for all the help testing and fixing
things and offering suggestions during this development cycle.
As always, have fun and enjoy! -P.
Diffstat (limited to 'source/d/automake')
-rwxr-xr-x | source/d/automake/automake.SlackBuild | 85 | ||||
-rw-r--r-- | source/d/automake/doinst.sh | 14 | ||||
-rw-r--r-- | source/d/automake/slack-desc | 19 |
3 files changed, 118 insertions, 0 deletions
diff --git a/source/d/automake/automake.SlackBuild b/source/d/automake/automake.SlackBuild new file mode 100755 index 000000000..c105dfeba --- /dev/null +++ b/source/d/automake/automake.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# 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. + + +VERSION=1.10.1 +ARCH=${ARCH:-x86_64} # note: the package is _built_ as 'noarch' +NUMJOBS=${NUMJOBS:-" -j7 "} +BUILD=${BUILD:-1} + +CWD=$(pwd) +TMP=${TMP:-/tmp} +PKG=$TMP/package-automake + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf automake-$VERSION +tar xvf $CWD/automake-$VERSION.tar.?z* || exit 1 +cd automake-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +./configure \ + --prefix=/usr \ + --infodir=/usr/info \ + --build=$ARCH-slackware-linux + +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +rm -f $PKG/usr/info/dir +gzip -9 $PKG/usr/info/* + +# Change hard links to symlinks: +SHORTNAME=$(echo $VERSION | cut -f1,2 -d .) +( cd $PKG/usr/bin + rm -f aclocal + ln -sf aclocal-$SHORTNAME aclocal + rm -rf automake + ln -sf automake-$SHORTNAME automake +) +#linkup; + +# Create local aclocal dir: +mkdir -p $PKG/usr/share/aclocal +touch $PKG/usr/share/aclocal + +mkdir -p $PKG/usr/doc/automake-$VERSION +mv $PKG/usr/share/doc/automake/* $PKG/usr/doc/automake-$VERSION +cp -a \ + AUTHORS COPYING* NEWS README* THANKS TODO \ + $PKG/usr/doc/automake-$VERSION +rm -rf $PKG/usr/share/doc + +mkdir -p $PKG/install +zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/automake-$VERSION-noarch-$BUILD.txz + diff --git a/source/d/automake/doinst.sh b/source/d/automake/doinst.sh new file mode 100644 index 000000000..e50590c1c --- /dev/null +++ b/source/d/automake/doinst.sh @@ -0,0 +1,14 @@ +# Update the /usr/info/dir info-database, so that we will see the new +# "automake" item in info root structure, if we type "info". +if [ -x /usr/bin/install-info ] ; then + install-info --info-dir=/usr/info /usr/info/automake.info.gz 2>/dev/null +elif fgrep "automake" usr/info/dir 1> /dev/null 2> /dev/null ; then + GOOD=yes # It seems to be entered in the /usr/info/dir already +else # add the info to the dir file directly: +cat << EOF >> usr/info/dir + +GNU admin +* aclocal: (automake)Invoking aclocal. Generating aclocal.m4 +* automake: (automake). Making Makefile.in's +EOF +fi diff --git a/source/d/automake/slack-desc b/source/d/automake/slack-desc new file mode 100644 index 000000000..0c6cff62a --- /dev/null +++ b/source/d/automake/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +automake: automake (a Makefile generator) +automake: +automake: This is Automake, a Makefile generator. It was inspired by the 4.4BSD +automake: make and include files, but aims to be portable and to conform to the +automake: GNU standards for Makefile variables and targets. Automake is a Perl +automake: script. The input files are called Makefile.am. The output files are +automake: called Makefile.in; they are intended for use with Autoconf. Automake +automake: requires certain things to be done in your configure.in. You must +automake: install the "m4" and "perl" packages to be able to use automake. +automake: +automake: |