# libieee1284/cfg - "Build" settings for package

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

[technotes]

# 1. Theoretically, this package includes Python support.  If "--with-
# python"  is used  (and if the  correct argument is  specified),  the
# "build"  procedure should compile associated interface file(s). Pre-
# sumably, the files should be  installed to  the main  "python" tree,
# so "python:strict" is listed as a dependency.  However,  Python sup-
# port doesn't seem to work.

# Python-related interface code is present,  but the "build" procedure
# doesn't compile the  interface code  (whether or not "--with-python"
# is used), and attempts to compile it directly produce errors. There-
# fore, to be on the safe side, "--without-python" is specified.  This
# disables Python support.

# "python:strict" is used,  regardless,  in case this problem is fixed
# at a later date.

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

[buildtimes]

00.01 hours (or 000.30 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.01 hours (or 000.35 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.03 hours (or 001.87 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB
                                  RAM

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

[settings]
amtoac  = yes                   # "actools"-related fix
build   = default
fortran = disabled
license = GNU General Public License, version 2 (June 1991)
patches = required
tmpsize = 6M

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

[depends]
actools
gawk
grep
python:strict                   # See notes near start of this file
python2-core:strict
python2-tcltk:strict
sed

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

[configure]
MANBASE=$PKGDIR_PROD/man

patch -p1 < debian/patches/10_kfreebsd-amd64.dpatch \

mkdir -p $MANBASE
autoreconf -v --install

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

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

# 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  = http://packages.debian.org/unstable/source/\
libieee1284

url_debian_pool = http://ftp.debian.org/debian/pool/main/libi/\
libieee1284/

url_home    = http://cyberelk.net/tim/software/libieee1284/
url_lfs     = n/a

url_tarball = http://downloads.sourceforge.net/libieee1284/\
libieee1284-0.2.11.tar.bz2