summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2010-06-03 10:26:18 +0000
committerJuergen Daubert <jue@jue.li>2010-06-03 10:26:18 +0000
commit7360d111fed1c0ac0b2b8dc5bdd0ac4f2789d35a (patch)
treeedd89d4f1e59b724cf3910354531c3c9b524555e
parent51dd500d21348cd6189c7e1ff183def127d7fcaa (diff)
downloadpkgutils-7360d111fed1c0ac0b2b8dc5bdd0ac4f2789d35a.tar.gz
pkgutils-7360d111fed1c0ac0b2b8dc5bdd0ac4f2789d35a.tar.xz
readline: install libraries into /lib instead of /usr/lib
-rw-r--r--readline/.footprint13
-rw-r--r--readline/Pkgfile7
2 files changed, 13 insertions, 7 deletions
diff --git a/readline/.footprint b/readline/.footprint
index 096bb151..5597b42b 100644
--- a/readline/.footprint
+++ b/readline/.footprint
@@ -1,5 +1,10 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/inputrc
+drwxr-xr-x root/root lib/
+lrwxrwxrwx root/root lib/libhistory.so.6 -> libhistory.so.6.1
+-r-xr-xr-x root/root lib/libhistory.so.6.1
+lrwxrwxrwx root/root lib/libreadline.so.6 -> libreadline.so.6.1
+-r-xr-xr-x root/root lib/libreadline.so.6.1
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/readline/
@@ -13,13 +18,9 @@ drwxr-xr-x root/root usr/include/readline/
-rw-r--r-- root/root usr/include/readline/tilde.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libhistory.a
-lrwxrwxrwx root/root usr/lib/libhistory.so -> libhistory.so.6
-lrwxrwxrwx root/root usr/lib/libhistory.so.6 -> libhistory.so.6.1
--r-xr-xr-x root/root usr/lib/libhistory.so.6.1
+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 -> libreadline.so.6
-lrwxrwxrwx root/root usr/lib/libreadline.so.6 -> libreadline.so.6.1
--r-xr-xr-x root/root usr/lib/libreadline.so.6.1
+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
diff --git a/readline/Pkgfile b/readline/Pkgfile
index a51abde1..1f32cae3 100644
--- a/readline/Pkgfile
+++ b/readline/Pkgfile
@@ -5,7 +5,7 @@
name=readline
version=6.1.2
-release=1
+release=2
source=(http://ftp.gnu.org/gnu/$name/$name-6.1.tar.gz \
$name-6.1-001-002.patch.gz inputrc)
@@ -18,6 +18,11 @@ build() {
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
}

Generated by cgit