wok view libedit/receipt @ rev 15502

util-linux-flock: fix pre_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 17 18:13:51 2013 +0000 (2013-11-17)
parents 8387b6915400
children 12d5d6943718
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@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="libedit-20100424"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.thrysoee.dk/editline/"
12 WGET_URL="http://www.thrysoee.dk/editline/$TARBALL"
13 TAGS="cli editor library"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --enable-widec \
23 $CONFIGURE_ARGS \
24 && make
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }