# linux-pam/cfg - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

1. The source tarball used by this package has been renamed.

#---------------------------------------------------------------------

[buildtimes]

00.03 hours (or 002.02 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM

#---------------------------------------------------------------------

[settings]
build      = default
license    = See "license*.txt" in installed tree
licfile    = COPYING
nosyslinks = yes
tmpsize    = 23M

#---------------------------------------------------------------------

[depends]
actools
bison2
bison3
flex
gawk
gettext
grep
libxslt
pkgconf
sed
xorg

#---------------------------------------------------------------------

[configure]
MANBASE=$PKGDIR_PROD/man
mkdir -p $MANBASE

if [ -f ./autogen.sh ]; then
        ./autogen.sh
fi

bash ./configure \
    --prefix=$PKGDIR_PROD          \
    --build=$LACARCHBUILD          \
    --host=$LACARCHHOST            \
    --disable-dependency-tracking  \
    --disable-doc                  \
    --enable-shared=yes            \
    --enable-static=no             \
    --mandir=$MANBASE

#---------------------------------------------------------------------

[postbuild]
cd $PKGDIR_PROD/include
ln -nsf . security

#---------------------------------------------------------------------

# Original URLs. These URLs were valid at one point, but may have died
# since then. If you download newer versions of tarballs [etc.], don't
# delete  the  original versions,  as you may not  be able  to replace
# them.

[urls]
url_debian_page = tbd
url_home        = tbd
url_lfs         = tbd

url_tarball     = https://github.com/linux-pam/linux-pam/archive/\
refs/tags/v1.6.1.tar.gz

#---------------------------------------------------------------------

[history]
211213 Added package. Started with 1.5.2.
240510 Updated to 1.6.1