2012-11-21 18:12:43 +01:00
|
|
|
# Description: Lets users edit command lines as they are typed in
|
|
|
|
# URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
|
2013-02-01 15:54:23 +01:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2012-11-21 18:12:43 +01:00
|
|
|
# Depends on: ncurses-32
|
|
|
|
|
|
|
|
name=readline-32
|
2014-08-17 03:54:47 +02:00
|
|
|
version=6.3.8
|
2012-11-21 18:12:43 +01:00
|
|
|
release=1
|
2014-06-15 21:21:52 +02:00
|
|
|
source=(http://ftp.gnu.org/gnu/readline/readline-${version:0:3}.tar.gz \
|
|
|
|
readline-$version.patch.gz)
|
2012-11-21 18:12:43 +01:00
|
|
|
|
|
|
|
build() {
|
2014-03-19 09:09:56 +01:00
|
|
|
cd readline-${version:0:3}
|
2012-11-21 18:12:43 +01:00
|
|
|
|
2014-06-15 21:21:52 +02:00
|
|
|
gunzip -c $SRC/readline-$version.patch.gz | patch -p0
|
|
|
|
|
2012-11-21 18:12:43 +01:00
|
|
|
./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32
|
2014-06-15 21:21:52 +02:00
|
|
|
make -j1 SHLIB_LIBS=-lncurses
|
|
|
|
make -j1 DESTDIR=$PKG install
|
2012-11-21 18:12:43 +01:00
|
|
|
|
|
|
|
install -d $PKG/lib32
|
|
|
|
mv $PKG/usr/lib32/lib*.so.* $PKG/lib32
|
2014-03-19 09:09:56 +01:00
|
|
|
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 18:12:43 +01:00
|
|
|
|
2014-03-19 09:09:56 +01:00
|
|
|
rm -r $PKG/usr/{bin,man,include,share}
|
2012-11-21 18:12:43 +01:00
|
|
|
}
|