wok-6.x view ncurses/receipt @ rev 22296
updated xorg-xmodmap (1.0.5 -> 1.0.10)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 16:38:59 2019 +0100 (2019-11-13) |
parents | a78610b2eb47 |
children | f7951fed4db2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses"
4 VERSION="6.1"
5 CATEGORY="base-system"
6 SHORT_DESC="Library of functions to manage display on terminals."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.gnu.org/software/ncurses/ncurses.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libtic libtinfo ncurses-common"
15 BUILD_DEPENDS=""
16 SPLIT="libform libmenu libpanel libtic libtinfo ncurses-common \
17 ncurses-dev ncurses-extra ncurses-man"
19 HOST_ARCH="i486 arm"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # Ncurses need an installed /usr/bin/tic which is in ncursesw-extra. And
25 # when cross compiling we can't use the freshly cooked binary. See cook log:
26 #
27 #** Building terminfo database, please wait...
28 #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
29 #
30 if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then
31 echo "Installing: ncursesw-extra"
32 tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null
33 fi
35 mkdir -p $DESTDIR/usr/lib/terminfo
37 # search string not in file (6.1)
38 # sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
39 # include/Makefile.in
41 ./configure \
42 --libdir=/lib \
43 --sysconfdir=/etc \
44 --with-shared \
45 --without-debug \
46 --without-ada \
47 --with-build-cc="gcc -D_GNU_SOURCE" \
48 --with-termlib \
49 --with-ticlib \
50 --enable-pc-files \
51 $CONFIGURE_ARGS &&
52 make &&
53 make install
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 mkdir -p $fs/lib
60 cp -a $install/lib/libncurses.so* $fs/lib
61 }