wok-6.x annotate ncurses/receipt @ rev 7
Add : ncurses + clex, htop, rhapsody
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 13 15:18:32 2007 +0100 (2007-12-13) |
parents | |
children | cdac43c3f44f |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="ncurses" |
pankso@7 | 4 VERSION="5.6" |
pankso@7 | 5 CATEGORY="base-apps" |
pankso@7 | 6 SHORT_DESC="Library of functions to manage display on teminals." |
pankso@7 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@7 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7 | 9 WEB_SITE="http://invisible-island.net/ncurses/" |
pankso@7 | 10 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL" |
pankso@7 | 11 |
pankso@7 | 12 # Rules to configure and make the package. |
pankso@7 | 13 compile_rules() |
pankso@7 | 14 { |
pankso@7 | 15 cd $PACKAGE-$VERSION |
pankso@7 | 16 ./configure --prefix=/usr \ |
pankso@7 | 17 --libdir=/lib --sysconfdir=/etc \ |
pankso@7 | 18 --infodir=/usr/share/info --mandir=/usr/share/man \ |
pankso@7 | 19 --with-shared --without-debug --without-ada \ |
pankso@7 | 20 $CONFIGURE_ARGS |
pankso@7 | 21 make |
pankso@7 | 22 make DESTDIR=$PWD/_pkg install |
pankso@7 | 23 } |
pankso@7 | 24 |
pankso@7 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 26 genpkg_rules() |
pankso@7 | 27 { |
pankso@7 | 28 mkdir -p $fs/lib $fs/usr/bin |
pankso@7 | 29 |
pankso@7 | 30 # Libs. |
pankso@7 | 31 cp -a $_pkg/lib/libncurses.so* $fs/lib |
pankso@7 | 32 strip --strip-unneeded $fs/lib/*.so* |
pankso@7 | 33 |
pankso@7 | 34 # Base progs. |
pankso@7 | 35 cp $_pkg/usr/bin/clear $fs/usr/bin |
pankso@7 | 36 cp $_pkg/usr/bin/tset $fs/usr/bin |
pankso@7 | 37 cp $_pkg/usr/bin/reset $fs/usr/bin |
pankso@7 | 38 |
pankso@7 | 39 # Terminfo. |
pankso@7 | 40 mkdir -p $fs/usr/share/terminfo |
pankso@7 | 41 for dir in a l r v x |
pankso@7 | 42 do |
pankso@7 | 43 mkdir $fs/usr/share/terminfo/$dir |
pankso@7 | 44 done |
pankso@7 | 45 cp $_pkg/usr/share/terminfo/a/ansi \ |
pankso@7 | 46 $fs/usr/share/terminfo/a |
pankso@7 | 47 cp $_pkg/usr/share/terminfo/l/linux \ |
pankso@7 | 48 $fs/usr/share/terminfo/l |
pankso@7 | 49 cp $_pkg/usr/share/terminfo/r/rxvt \ |
pankso@7 | 50 $fs/usr/share/terminfo/r |
pankso@7 | 51 cp $_pkg/usr/share/terminfo/x/xterm \ |
pankso@7 | 52 $fs/usr/share/terminfo/x |
pankso@7 | 53 cp $_pkg/usr/share/terminfo/x/xterm-color \ |
pankso@7 | 54 $fs/usr/share/terminfo/x |
pankso@7 | 55 cp $_pkg/usr/share/terminfo/x/xterm-new \ |
pankso@7 | 56 $fs/usr/share/terminfo/x |
pankso@7 | 57 cp $_pkg/usr/share/terminfo/x/xterm-vt220 \ |
pankso@7 | 58 $fs/usr/share/terminfo/x |
pankso@7 | 59 cp $_pkg/usr/share/terminfo/v/vt100 \ |
pankso@7 | 60 $fs/usr/share/terminfo/v |
pankso@7 | 61 cp $_pkg/usr/share/terminfo/v/vt102* \ |
pankso@7 | 62 $fs/usr/share/terminfo/v |
pankso@7 | 63 |
pankso@7 | 64 # Tabset. |
pankso@7 | 65 cp -a $_pkg/usr/share/tabset $fs/usr/share |
pankso@7 | 66 } |