#!/bin/sh NAME="krb5" DESC="The Kerberos network authentication system" MAKEDEPS="e2fsprogs libverto libldap openssl keyutils bison flex perl" PKG_VER=1.19.3 maj_min=$PKG_VER case $PKG_VER in *.*.*) maj_min=${PKG_VER%.*} ;; esac SOURCE="https://web.mit.edu/kerberos/dist/krb5/$maj_min/krb5-$PKG_VER.tar.gz" ADDITIONAL=" krb5kadmind.initd krb5kdc.initd krb5kpropd.initd mit-krb5_krb5-config_LDFLAGS.patch " prepare () { cd src mv ../*.patch . apply_patches } build() { ./configure \ CPPFLAGS="$CPPFLAGS -fPIC -I/usr/include/et" \ WARN_CFLAGS= \ --prefix=/usr \ --localstatedir=/var/lib \ --enable-shared \ --disable-nls \ --disable-static \ --disable-rpath \ --with-system-et \ --with-system-ss \ --with-system-verto \ --without-tcl \ --with-ldap make } package() { make install DESTDIR="$PKG_DEST" mkdir -p "$PKG_DEST"/usr/share/doc/krb5 mv "$PKG_DEST"/usr/share/examples "$PKG_DEST"/usr/share/doc/krb5/ }