wok-current view ncursesw/receipt @ rev 12409

compiz-core: add DBUS support
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 20 18:12:15 2012 +0200 (2012-04-20)
parents ef827f291143
children 7c64b51d0a8c
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 }