#!/bin/bash # libtool # # Douglas Thrift # # $Id$ name=libtool version=1.5.22 revision=0 categories=(base devel) description='Generic shared library support script' url='http://www.gnu.org/software/libtool/libtool.html' depends=('base/heirloom-sh' 'base/grep' 'base/help2man' 'base/sed') sources=(`site_gnu`) function build() { gnu_configure --prefix=/usr || return $? install -dv $package/usr/share/man/man1 || return $? help2man -n 'GNU Portable Library Tool' $package/usr/bin/libtool | sed -e "s/ltmain.sh/libtool/g;s/LTMAIN.SH/LIBTOOL/g;s/$version (.*)/$version/" > $package/usr/share/man/man1/libtool.1 || return $? help2man -n 'provides a standard way to add libtool support to your package' -o $package/usr/share/man/man1/libtoolize.1 -p libtool $package/usr/bin/libtoolize }