vp-build/templates/readline/template
Juan RP dd6b45c322 Set sourcepkg to pkgname through run_template().
This removes the need for having to specify sourcepkg manually in
every package that will build subpkgs.

--HG--
extra : convert_revision : 383e4c467e84844d2f4f61ae5c5e07a5124e9cfb
2009-07-29 22:44:30 +02:00

30 lines
1001 B
Plaintext

# Template build file for 'readline'.
pkgname=readline
version=6.0
distfiles="http://savory.googlecode.com/files/${pkgname}-${version}.tar.gz"
build_style=gnu_configure
make_build_args="SHLIB_LIBS=-lncurses"
short_desc="The GNU Readline Library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1199d905c025735b34cf67d03078585e18f84707052413279fe68ce48c1cc1de
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."
subpackages="devel"
Add_dependency full glibc
Add_dependency build ncurses
Add_dependency run ncurses-libs
post_install()
{
# Move shared libs into /lib.
mkdir -p $DESTDIR/lib
mv $DESTDIR/usr/lib/lib*.so* $DESTDIR/lib
}