wok-stable view libedit/receipt @ rev 5544

Up: libarchive (2.8.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 13 13:44:27 2010 +0200 (2010-05-13)
parents 03a799424aaa
children a0629adf72c8
line source
1 # SliTaz package receipt.
3 PACKAGE="libedit"
4 VERSION="3.0"
5 CATEGORY="misc"
6 SHORT_DESC="Berkeley-style licensed command line editor library"
7 MAINTAINER="domcox@users.sourceforge.net"
8 DEPENDS=""
9 SOURCE="libedit-20090923"
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 }