# readline/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.55 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.62 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.02 hours (or 000.95 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.04 hours (or 002.23 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] dontfind = readline-static exepack = yes license = See "license*.txt" in installed tree licfile = COPYING purge = no # This is a critical component setpaths = readline #--------------------------------------------------------------------- [depends] actools gawk grep ncurses termcap #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE patch -p1 < debian/patches/rl-attribute.dpatch patch -p1 < debian/patches/rl-header.dpatch patch -p1 < debian/patches/rlfe-history.dpatch # Courtesy of BLFS: sed -e '/MV.*old/d' -i Makefile.in sed -e '/{OLDSUFF}/c:' -i support/shlib-install bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --enable-multibyte \ --enable-shared=yes \ --enable-static=no \ --mandir=$MANBASE #--------------------------------------------------------------------- [build] SHLIB_LIBS="-L$PRODTREE/ncurses/lib -lncursesw" smpmake SHLIB_LIBS="$SHLIB_LIBS" make SHLIB_LIBS="$SHLIB_LIBS" install #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc INCDIR=$PKGDIR_PROD/include LIBDIR=$PKGDIR_PROD/lib MANDIR=$PKGDIR_PROD/man/man1 mkdir -p $BINDIR $DOCDIR $INCDIR \ $MANDIR ldconfig cd examples/rlfe bash ./configure --prefix=$PKGDIR_PROD make rm -f $LIBDIR/*.old cp -p rlfe $BINDIR/ cp -p README $DOCDIR/rlfe.txt cp -p ../../debian/rlfe.1 $MANDIR/ cd $INCDIR echo "#include " > readline.h #--------------------------------------------------------------------- # 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/readline5 url_lfs = n/a url_home = http://cnswww.cns.cwru.edu/php/chet/\ readline/rltop.html url_tarball = http://ftp.gnu.org/pub/gnu/readline/\ readline-8.1.2.tar.gz #--------------------------------------------------------------------- [history] 180701 Added an Alpine patch 210203 Updated to 8.1 220105 Updated to 8.1.2