# libconfig/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. A procedure similar to the one shown in the "git- fetch" block was used. #--------------------------------------------------------------------- [gitfetch] OUTBASE=libconfig YYMMDD=181010 DIR=$OUTBASE-git-$YYMMDD URL=https://github.com/hyperrealm/libconfig.git rm -fr $OUTBASE $DIR $DIR.tar* git clone $URL $DIR tar cf - $DIR | pbzip2 -c > $DIR.tar.bz2 tardate $DIR.tar.bz2 #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.52 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- [settings] license = See "license*.txt" in installed tree licfile = COPYING.LIB tmpsize = 14M #--------------------------------------------------------------------- [depends] cmake #--------------------------------------------------------------------- [configure] mkdir obj cd obj cmake \ -DCMAKE_BUILD_TYPE:STRING=RELEASE \ -DCMAKE_INSTALL_PREFIX:PATH=$PKGDIR_PROD \ -DCMAKE_INSTALL_LIBDIR=lib \ .. #--------------------------------------------------------------------- [build] export LACINCDIRS=`pwd`/lib cd obj smpmake || smpmake || make make install || make install PCFDIR=$PKGDIR_PROD/lib/pkgconfig RELEASE=1.7.2 mkdir -p $PCFDIR cd $PCFDIR for x in libconfig libconfig++ do sed -e "s@__META_PREFIX__@$PKGDIR_PROD@g" \ -e "s@__META_RELEASE__@$RELEASE@g" \ < $PKGDIR_SPECIAL/$x.pc.in \ > $x.pc done #--------------------------------------------------------------------- # 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 = tbd url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 180508 Added package. Started with 180508 ("git"-based). 181010 Updated from 180508 to 181010 181010 Modified to create and install "*.pc" files