aboutsummaryrefslogtreecommitdiffstats
path: root/readline/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-22 12:05:22 +0100
committerpiernov <piernov@piernov.org>2012-01-22 12:05:22 +0100
commitdb486bb0d70c096ca8e9a2640a4d9b395465dadd (patch)
tree9e12a47246cdf75117749c76e4cee071262d7a8f /readline/Pkgfile
parent5bd68d80dfcc9a28a3a09567e38ee4d885832ad6 (diff)
downloadnutyx-multimedia-db486bb0d70c096ca8e9a2640a4d9b395465dadd.tar.gz
nutyx-multimedia-db486bb0d70c096ca8e9a2640a4d9b395465dadd.tar.bz2
nutyx-multimedia-db486bb0d70c096ca8e9a2640a4d9b395465dadd.tar.xz
nutyx-multimedia-db486bb0d70c096ca8e9a2640a4d9b395465dadd.zip
readline → nutyx-pakxe + màj README
Diffstat (limited to 'readline/Pkgfile')
-rw-r--r--readline/Pkgfile34
1 files changed, 0 insertions, 34 deletions
diff --git a/readline/Pkgfile b/readline/Pkgfile
deleted file mode 100644
index b21a99b..0000000
--- a/readline/Pkgfile
+++ /dev/null
@@ -1,34 +0,0 @@
-# Description: Jeux de librairies permetant l'historique des commande en ligne
-# URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
-# Maintainer: NuTyX core team
-# Packager: thierryn1 at hispeed dot ch
-
-name=readline
-version=6.2
-release=2
-source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
-
-build() {
- cd $name-$version
-
- export LDFLAGS="-I%{_includedir}/ncursesw -lncursesw"
- sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
-
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --libdir=/lib \
- --enable-multibyte \
- --with-curses
- make
- make DESTDIR=$PKG install
-
- mkdir -p $PKG/usr/lib
- mv -v $PKG/lib/lib{readline,history}.a $PKG/usr/lib
- rm -v $PKG/lib/lib{readline,history}.so
- ln -sfv ../../lib/libreadline.so.6 $PKG/usr/lib/libreadline.so
- ln -sfv ../../lib/libhistory.so.6 $PKG/usr/lib/libhistory.so
- if [ -f $PKG/usr/share/info/dir ]; then
- rm $PKG/usr/share/info/dir
- fi
-}