wok-current view libedit/receipt @ rev 1356
Add: libedit BSD licensed command line editor library
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Tue Sep 09 22:15:17 2008 +0200 (2008-09-09) |
parents | |
children | 03a799424aaa |
line source
1 # SliTaz package receipt.
3 PACKAGE="libedit"
4 VERSION="2.11"
5 CATEGORY="library"
6 SHORT_DESC="Berkeley-style licensed command line editor library"
7 MAINTAINER="domcox@users.sourceforge.net"
8 DEPENDS=""
9 SOURCE="libedit-20080712"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.thrysoee.dk/editline/"
12 WGET_URL="http://www.thrysoee.dk/editline/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS \
22 && make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 strip --strip-unneeded $fs/usr/lib/*
32 }