#!/bin/bash # This script is called from binutils.SlackBuild... # Modified by Stuart Winter # 30-May-04 echo "[**] Building ksymoops [**]" VERSION=2.4.11 cd $TMP rm -rf ksymoops-$VERSION # Extract source: tar xvvf $CWD/ksymoops-$VERSION.tar.bz2 cd ksymoops-$VERSION zcat $CWD/ksymoops.dynamic.bfd.diff.gz | patch -p1 # Compile: make $NUMJOBS CC="cc $ARCH_CFLAGS" || failmake # Install binary: mkdir -p $PKG/usr/bin install -m755 ksymoops $PKG/usr/bin # Install man pages: mkdir -p $PKG/usr/man/man8 install -m644 ksymoops.8 $PKG/usr/man/man8 # Install docs: mkdir -p $PKG/usr/doc/ksymoops-$VERSION cp -a COPYING Changelog INSTALL README* \ $PKG/usr/doc/ksymoops-$VERSION