wok-next view libedit/receipt @ rev 5194

Up: slitaz-base-files (3.2) Wok have now a 3.0 version string
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 15:43:04 2010 +0200 (2010-03-28)
parents d5be027602dd
children 33155c265a10
line source
1 # SliTaz package receipt.
3 PACKAGE="libedit"
4 VERSION="2.11"
5 CATEGORY="misc"
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 }