summaryrefslogtreecommitdiff
path: root/source/d/libtool
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/libtool')
-rwxr-xr-xsource/d/libtool/libtool.SlackBuild15
-rw-r--r--source/d/libtool/libtool.no.moved.warning.diff32
2 files changed, 25 insertions, 22 deletions
diff --git a/source/d/libtool/libtool.SlackBuild b/source/d/libtool/libtool.SlackBuild
index 75a0ff2c..9849df42 100755
--- a/source/d/libtool/libtool.SlackBuild
+++ b/source/d/libtool/libtool.SlackBuild
@@ -20,8 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=${VERSION:-$(echo libtool-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo libtool-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:--j6}
@@ -58,7 +58,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf libtool-$VERSION
-tar xvf $CWD/libtool-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/libtool-$VERSION.tar.xz || exit 1
cd libtool-$VERSION
chown -R root:root .
@@ -75,21 +75,24 @@ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--infodir=/usr/info \
+ --mandir=/usr/man \
--docdir=/usr/doc/libtool-$VERSION \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
-make install DESTDIR=$PKG
+make install DESTDIR=$PKG || exit 1
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+gzip -9 $PKG/usr/man/man?/*.?
+
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
mkdir -p $PKG/usr/doc/libtool-$VERSION
cp -a \
- AUTHORS COPYING NEWS README THANKS TODO \
+ AUTHORS COPYING* NEWS README* THANKS TODO \
$PKG/usr/doc/libtool-$VERSION
mkdir $PKG/install
diff --git a/source/d/libtool/libtool.no.moved.warning.diff b/source/d/libtool/libtool.no.moved.warning.diff
index f6a82285..80077516 100644
--- a/source/d/libtool/libtool.no.moved.warning.diff
+++ b/source/d/libtool/libtool.no.moved.warning.diff
@@ -1,44 +1,44 @@
---- ./libltdl/config/ltmain.m4sh.orig 2009-11-16 07:17:22.000000000 -0600
-+++ ./libltdl/config/ltmain.m4sh 2010-02-06 18:13:00.000000000 -0600
-@@ -4965,7 +4965,7 @@
+--- ./libltdl/config/ltmain.m4sh.orig 2010-09-22 09:45:18.000000000 -0500
++++ ./libltdl/config/ltmain.m4sh 2010-11-06 13:38:09.000000000 -0500
+@@ -5710,7 +5710,7 @@
# Find the relevant object directory and library name.
if test "X$installed" = Xyes; then
- if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
- func_warning "library \`$lib' was moved."
-+ # func_warning "library \`$lib' was moved."
++ #func_warning "library \`$lib' was moved."
dir="$ladir"
absdir="$abs_ladir"
libdir="$abs_ladir"
-@@ -5496,8 +5496,8 @@
+@@ -6277,8 +6277,8 @@
eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
test -z "$libdir" && \
func_fatal_error "\`$deplib' is not a valid libtool archive"
- test "$absdir" != "$libdir" && \
- func_warning "\`$deplib' seems to be moved"
-+ # test "$absdir" != "$libdir" && \
-+ # func_warning "\`$deplib' seems to be moved"
++ #test "$absdir" != "$libdir" && \
++ # func_warning "\`$deplib' seems to be moved"
path="-L$absdir"
fi
---- ./libltdl/config/ltmain.sh.orig 2009-11-16 07:23:18.000000000 -0600
-+++ ./libltdl/config/ltmain.sh 2010-02-06 18:13:26.000000000 -0600
-@@ -5407,7 +5407,7 @@
+--- ./libltdl/config/ltmain.sh.orig 2010-09-22 09:45:43.000000000 -0500
++++ ./libltdl/config/ltmain.sh 2010-11-06 13:38:49.000000000 -0500
+@@ -6499,7 +6499,7 @@
# Find the relevant object directory and library name.
if test "X$installed" = Xyes; then
- if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
- func_warning "library \`$lib' was moved."
-+ # func_warning "library \`$lib' was moved."
++ #func_warning "library \`$lib' was moved."
dir="$ladir"
absdir="$abs_ladir"
libdir="$abs_ladir"
-@@ -5938,8 +5938,8 @@
+@@ -7066,8 +7066,8 @@
eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
test -z "$libdir" && \
func_fatal_error "\`$deplib' is not a valid libtool archive"
- test "$absdir" != "$libdir" && \
- func_warning "\`$deplib' seems to be moved"
-+ # test "$absdir" != "$libdir" && \
-+ # func_warning "\`$deplib' seems to be moved"
++ #test "$absdir" != "$libdir" && \
++ # func_warning "\`$deplib' seems to be moved"
path="-L$absdir"
fi