#!/bin/bash # autoconf2.13.build # Build autoconf2.13 (with Debian's patch) for ARMedSlack # by Stuart Winter # 03-Jun-2004 # Extract source: cd ${SLACKTRACKSCRATCHDIR} tar zxf $PORTCWD/source/autoconf*orig* cd autoconf* # Apply Debian's patch: zcat $PORTCWD/source/autoconf*diff* | patch -p1 # Configure: ./configure \ --prefix=/usr || failconfig # Make & install: make make install # Install the Debian wrapper: install -m755 debian/wrapper $PKG/usr/bin/autoconf-wrapper # Dance for Debian: ( cd $PKG/usr/bin for i in autoconf autoheader autoreconf autoupdate ifnames autoscan; do mv ${i} ${i}2.13 done ln -fs autoconf-wrapper autoconf ln -fs autoconf-wrapper autoreconf ln -fs autoconf-wrapper autoheader ) # We don't want to conflict with the newer versions of autoconf # so this stuff gets deleted: ( cd ${SLACKTRACKFAKEROOT} rm -rf usr/{man,info,doc} ) # Install package description: rm -rf /install mkdir /install install -m644 $PORTCWD/slack-desc /install