wok-stable view ncurses/receipt @ rev 11945
pcmanfm: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 01 09:20:32 2012 +0100 (2012-03-01) |
parents | ef827f291143 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses"
4 VERSION="5.9"
5 CATEGORY="base-system"
6 SHORT_DESC="Library of functions to manage display on terminals."
7 DEPENDS="ncurses-common"
8 BUILD_DEPENDS="gcc"
9 MAINTAINER="pankso@slitaz.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://invisible-island.net/ncurses/"
12 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
14 # Rules to compile & install the temporary toolchain.
15 cook_tmp_toolchain()
16 {
17 cd $src
18 ./configure --with-shared --without-debug \
19 --without-ada --enable-overwrite &&
20 make && make install
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
28 include/Makefile.in
29 ./configure \
30 --libdir=/lib \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 --with-shared \
34 --without-debug \
35 --without-ada \
36 --build=$HOST_SYSTEM \
37 --host=$HOST_SYSTEM &&
38 make && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/lib
45 cp -a $_pkg/lib/libncurses.so* $fs/lib
46 }