summaryrefslogtreecommitdiffstats
path: root/readline
diff options
context:
space:
mode:
Diffstat (limited to 'readline')
-rw-r--r--readline/.footprint13
-rw-r--r--readline/.sha256sum3
-rw-r--r--readline/Pkgfile30
3 files changed, 28 insertions, 18 deletions
diff --git a/readline/.footprint b/readline/.footprint
index 5597b42..1694676 100644
--- a/readline/.footprint
+++ b/readline/.footprint
@@ -21,11 +21,16 @@ drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libhistory.so -> ../../lib/libhistory.so.6.1
-rw-r--r-- root/root usr/lib/libreadline.a
lrwxrwxrwx root/root usr/lib/libreadline.so -> ../../lib/libreadline.so.6.1
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man3/
--rw-r--r-- root/root usr/man/man3/history.3.gz
--rw-r--r-- root/root usr/man/man3/readline.3.gz
drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/dir
+-rw-r--r-- root/root usr/share/info/history.info
+-rw-r--r-- root/root usr/share/info/readline.info
+-rw-r--r-- root/root usr/share/info/rluserman.info
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/history.3.bz2
+-rw-r--r-- root/root usr/share/man/man3/readline.3.bz2
drwxr-xr-x root/root usr/share/readline/
-rw-r--r-- root/root usr/share/readline/excallback.c
-rw-r--r-- root/root usr/share/readline/fileman.c
diff --git a/readline/.sha256sum b/readline/.sha256sum
new file mode 100644
index 0000000..76088b1
--- /dev/null
+++ b/readline/.sha256sum
@@ -0,0 +1,3 @@
+9119a95d4b1407e3c4ad2b6fb92e840353e65ae9d7ec77fed75cab293cb81bcb inputrc
+9a25db4e8febd0f4c1a29f401743aa179c960e89d3279d78c317333e38ec2a29 readline-6.1-001-002.patch.gz
+f0caf608c06ccd6d56b3bee1843458d509c53f9b53dffffe07cc11d8f03fa969 readline-6.1.tar.gz
diff --git a/readline/Pkgfile b/readline/Pkgfile
index 46569df..aa0e0e7 100644
--- a/readline/Pkgfile
+++ b/readline/Pkgfile
@@ -1,24 +1,26 @@
description="Lets users edit command lines as they are typed in"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
depends=(ncurses)
name=readline
version=6.1.2
release=2
-source=(http://ftp.gnu.org/gnu/readline/readline-6.1.tar.gz readline-6.1-001-002.patch.gz inputrc)
+source=(http://ftp.gnu.org/gnu/$name/$name-${version%\.*}.tar.gz readline-6.1-001-002.patch.gz inputrc)
build ()
{
- cd $name-6.1;
- gunzip -c $SRC/$name-6.1-001-002.patch.gz | patch -p0;
- ./configure --prefix=/usr --mandir=/usr/man;
- make SHLIB_LIBS=-lncurses;
- make DESTDIR=$PKG install;
- install -d $PKG/lib;
- mv $PKG/usr/lib/lib*.so.* $PKG/lib;
- ln -sf ../../lib/libhistory.so.6.1 $PKG/usr/lib/libhistory.so;
- ln -sf ../../lib/libreadline.so.6.1 $PKG/usr/lib/libreadline.so;
- install -D -m 644 $SRC/inputrc $PKG/etc/inputrc;
- rm -r $PKG/usr/share/info
+ cd $name-6.1;
+ gunzip -c $SRC/$name-6.1-001-002.patch.gz | patch -p0;
+ ./configure --prefix=$prefix --mandir=$mandir;
+ make SHLIB_LIBS=-lncurses;
+ make DESTDIR=$PKG install;
+ install -d $PKG/lib;
+ mv $PKG$prefix/lib/lib*.so.* $PKG/lib;
+ ln -sf ../../lib/libhistory.so.6.1 $PKG$prefix/lib/libhistory.so;
+ ln -sf ../../lib/libreadline.so.6.1 $PKG$prefix/lib/libreadline.so;
+ install -D -m 644 $SRC/inputrc $PKG/etc/inputrc;
+ #if ! use info; then
+ # rm -r $PKG/usr/share/info
+ #fi
}