#Packager: Frédéric Galusik pkgname=libedit pkgver=20120601v3.0 pkgrel=1fg #arch=noarch source=("http://www.thrysoee.dk/editline/$pkgname-20120601-3.0.tar.gz") sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver docs=("copying" "install" "thanks") url=http://www.thrysoee.dk/editline/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libedit (Command line editor library)" "This is an autotool- and libtoolized port of the NetBSD Editline " "library (libedit). This Berkeley-style licensed command line editor " "library provides generic line editing, history, and tokenization " "functions, similar to those found in GNU Readline." ) build() { cd $SRC/$pkgname-20120601-3.0 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --enable-widec \ --mandir=/usr/man \ --disable-static \ --build=$ARCH-slackware-linux make || return 1 make install DESTDIR=$PKG # fix man page name cp $PKG/usr/man/man3/editline.3 $PKG/usr/man/man3/el.3 }