forked from ports/compat-32
25 lines
792 B
Plaintext
25 lines
792 B
Plaintext
# Description: Lets users edit command lines as they are typed in
|
|
# URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: ncurses-32
|
|
|
|
name=readline-32
|
|
version=6.3
|
|
release=1
|
|
source=(http://ftp.gnu.org/gnu/readline/readline-${version:0:3}.tar.gz)
|
|
|
|
build() {
|
|
cd readline-${version:0:3}
|
|
|
|
./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32
|
|
make SHLIB_LIBS=-lncurses
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d $PKG/lib32
|
|
mv $PKG/usr/lib32/lib*.so.* $PKG/lib32
|
|
ln -sf ../../lib32/libhistory.so.${version:0:3} $PKG/usr/lib32/libhistory.so
|
|
ln -sf ../../lib32/libreadline.so.${version:0:3} $PKG/usr/lib32/libreadline.so
|
|
|
|
rm -r $PKG/usr/{bin,man,include,share}
|
|
}
|