#!/bin/bash # glibc # # Douglas Thrift # # $Id$ name=glibc version=2.5 revision=0 categories=(base devel) description='GNU C Library' url='http://www.gnu.org/software/libc/libc.html' depends=('base/linux-headers') sources=(`site_gnu $name{,-libidn}-$version.tar.bz2` glibc.patch) function build() { mv -v $source/$name-libidn-$version $source/$sourcedir/libidn || return $? gnu_patch glibc.patch || return $? gnu_configure_builddir --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --disable-profile --enable-add-ons --enable-kernel=2.6.0 || return $? rm -frv $package/{etc/{ld.so.cache,localtime},usr/share/zoneinfo} }