# bash-completion/cfg - "Build" settings for package

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

[technotes]

1. The source tarball used by this package was created  based on "git"
upstream sources. The sources were obtained as follows:

      ocgitfetch --run https://github.com/scop/bash-completion.git

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

[buildtimes]

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

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

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

[depends]
actools
gawk
grep
python
sed

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

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

autoreconf -fi

bash ./configure \
    --prefix=$PKGDIR_PROD \
    --build=$LACARCHBUILD \
    --host=$LACARCHHOST   \
    --mandir=$MANBASE

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

[postbuild]
ETCDIR=$PKGDIR_PROD/etc
LIBDIR=$PKGDIR_PROD/lib
PCFDIR=$LIBDIR/pkgconfig
mkdir -p $PCFDIR

instreplinks -d $ETCDIR/profile.d /etc/profile.d
ln -nsf $PKGDIR_PROD/share/pkgconfig/bash-completion.pc $PCFDIR/

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

# 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     = git           # See "technotes" in "cfg" file

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

[history]
210330 Added package. Started with 09307f802 ("git" hash).