# pidentd, http://www.lysator.liu.se/~pen/pidentd/

name=pidentd
version=3.0.14
source=($name-$version.tar.gz identd.conf)

build() {
    cd $name-$version
    ./configure --prefix=/usr --sysconfdir=/etc
    make
    mkdir $PKG/etc
    make prefix=$PKG/usr sysconfdir=$PKG/etc install 
    cp ../identd.conf $PKG/etc/identd.conf
    chown root.root $PKG/etc/identd.conf
    chmod 644 $PKG/etc/identd.conf
    strip $PKG/usr/sbin/*
    ( cd $PKG/usr/sbin ; ln -sf identd in.identd )
    gzip -9 $PKG/usr/man/man?/*
}
