#!/bin/bash # Linux-PAM # # Douglas Thrift # # $Id$ name=Linux-PAM version=0.81 revision=0 categories=(base security) description='Pluggable Authentication Modules library' url='http://www.kernel.org/pub/linux/libs/pam/' depends=('base/glibc') sources=(`site_kernel linux/libs/pam/pre/library/$name-$version.tar.bz2` modules-Makefile.patch) function build() { gnu_patch modules-Makefile.patch || return $? gnu_configure --prefix=/usr --exec-prefix= --mandir=/usr/share/man --sysconfdir=/etc --enable-fakeroot=$package || return $? install -dv $package/usr/lib || return $? for lib in '' c _misc; do ln -sv ../../lib/libpam$lib.so.$version $package/usr/lib/libpam$lib.so || return $? done }