From d23d3b01018918d5cccc82deb404018743aa8546 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 26 Nov 2008 15:45:08 +0100 Subject: [PATCH] Added readline-5.2 template. --HG-- extra : convert_revision : 944441666ab958ddf7fc7f53b383c3a8f8062650 --- templates/readline.tmpl | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 templates/readline.tmpl diff --git a/templates/readline.tmpl b/templates/readline.tmpl new file mode 100644 index 00000000000..e5f78b444e7 --- /dev/null +++ b/templates/readline.tmpl @@ -0,0 +1,30 @@ +# Template file for 'readline' +pkgname=readline +version=5.2 +distfiles=ftp://ftp.cwru.edu/pub/bash/$pkgname-$version.tar.gz +build_style=gnu_configure +make_build_args="SHLIB_LIBS=-lncurses" +short_desc="The GNU Readline Library" +maintainer="Juan RP " +checksum=12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45 +long_desc=" + The GNU Readline library provides a set of functions for use by + applications that allow users to edit command lines as they are + typed in. Both Emacs and vi editing modes are available. The + Readline library includes additional functions to maintain a list + of previously-entered command lines, to recall and perhaps reedit + those lines, and perform csh-like history expansion on previous + commands." + +base_chroot=yes +build_depends="ncurses-5.6" +run_depends="glibc-2.8 $build_depends" + +post_install() +{ + local destdir=$XBPS_DESTDIR/$pkgname-$version + + # Move shared libs into /lib. + mkdir -p $destdir/lib + mv $destdir/usr/lib/lib*.so* $destdir/lib +}