wok-stable view ncursesw/receipt @ rev 12451
Up apache (2.2.29), CVE-2014-0231
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 16 10:13:52 2015 +0200 (2015-06-16) |
parents | ef827f291143 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncursesw"
4 VERSION="5.9"
5 SOURCE="ncurses"
6 CATEGORY="base-system"
7 SHORT_DESC="Library of functions to manage display on terminals."
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://invisible-island.net/ncurses/"
11 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
18 include/Makefile.in
19 ./configure \
20 --libdir=/lib \
21 --sysconfdir=/etc \
22 --with-shared \
23 --without-debug \
24 --without-ada \
25 --enable-widec \
26 --build=$HOST_SYSTEM \
27 --host=$HOST_SYSTEM &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/lib $fs/usr/bin
36 # Libs.
37 cp -a $_pkg/lib/libncursesw.so* $fs/lib
39 # Base progs.
40 cp $_pkg/usr/bin/clear $fs/usr/bin
41 cp $_pkg/usr/bin/tset $fs/usr/bin
42 cp $_pkg/usr/bin/reset $fs/usr/bin
43 }
45 # Overlap busybox
46 pre_install()
47 {
48 rm -f $1/usr/bin/clear
49 rm -f $1/usr/bin/reset
50 }
52 post_remove()
53 {
54 ln -s /bin/busybox $1/usr/bin/clear
55 ln -s /bin/busybox $1/usr/bin/reset
56 }