Added readline-devel symlink, missed in previous.
--HG-- extra : convert_revision : 7c0be2693276f65f7a6ac2ea178d8de1316cf073
This commit is contained in:
parent
05a64d017d
commit
759683405b
3 changed files with 57 additions and 0 deletions
2
templates/readline-devel/depends
Normal file
2
templates/readline-devel/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=6.0
|
||||
api_depends=${abi_depends}
|
25
templates/readline-devel/devel.template
Normal file
25
templates/readline-devel/devel.template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'readline-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run readline-libs
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mkdir -p ${DESTDIR}/usr/share/info
|
||||
mkdir -p ${DESTDIR}/usr/share/man
|
||||
mkdir -p ${DESTDIR}/usr/share/info
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/readline ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
||||
for f in history rluserman; do
|
||||
mv ${SRCPKGDESTDIR}/usr/share/info/${f}.info \
|
||||
${DESTDIR}/usr/share/info
|
||||
done
|
||||
}
|
30
templates/readline-devel/template
Normal file
30
templates/readline-devel/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template build file for 'readline'.
|
||||
pkgname=readline
|
||||
sourcepkg=$pkgname
|
||||
version=6.0
|
||||
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 <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
|
||||
}
|
Loading…
Reference in a new issue