2012-11-21 11:12:43 -06:00
|
|
|
# Description: Lets users edit command lines as they are typed in
|
2022-01-11 12:22:58 +01:00
|
|
|
# URL: https://tiswww.case.edu/php/chet/readline/rltop.html
|
2013-02-02 01:54:23 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2019-08-27 21:48:19 +10:00
|
|
|
# Depends on: ncurses-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=readline-32
|
2024-01-16 21:23:23 +01:00
|
|
|
version=8.2.10
|
2012-11-21 11:12:43 -06:00
|
|
|
release=1
|
2019-03-10 17:01:50 +11:00
|
|
|
source=(https://ftp.gnu.org/gnu/${name%-*}/${name%-*}-${version:0:3}.tar.gz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2022-01-11 12:22:58 +01:00
|
|
|
cd ${name%-*}-${version:0:3}
|
2017-03-02 22:22:15 +11:00
|
|
|
|
2022-01-11 12:22:58 +01:00
|
|
|
./configure --prefix=/usr --libdir=/usr/lib32
|
|
|
|
make -j1 SHLIB_LIBS=-lncurses
|
|
|
|
make -j1 DESTDIR=$PKG install
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2022-01-11 12:22:58 +01:00
|
|
|
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
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2022-01-11 12:22:58 +01:00
|
|
|
rm -r $PKG/usr/{bin,include,share/man,share}
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|