wok diff ncurses/receipt @ rev 71

Removed meta pkg xorg-proto (xorg-dev-proto do the job)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 25 17:16:56 2007 +0100 (2007-12-25)
parents
children cdac43c3f44f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ncurses/receipt	Tue Dec 25 17:16:56 2007 +0100
     1.3 @@ -0,0 +1,66 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ncurses"
     1.7 +VERSION="5.6"
     1.8 +CATEGORY="base-apps"
     1.9 +SHORT_DESC="Library of functions to manage display on teminals."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://invisible-island.net/ncurses/"
    1.13 +WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +    cd $PACKAGE-$VERSION
    1.19 +    ./configure --prefix=/usr \
    1.20 +    --libdir=/lib --sysconfdir=/etc \
    1.21 +    --infodir=/usr/share/info --mandir=/usr/share/man \
    1.22 +    --with-shared --without-debug --without-ada \
    1.23 +    $CONFIGURE_ARGS
    1.24 +    make
    1.25 +    make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +    mkdir -p $fs/lib $fs/usr/bin
    1.32 +    
    1.33 +    # Libs.
    1.34 +    cp -a $_pkg/lib/libncurses.so* $fs/lib
    1.35 +    strip --strip-unneeded $fs/lib/*.so*
    1.36 +    
    1.37 +    # Base progs.
    1.38 +    cp $_pkg/usr/bin/clear $fs/usr/bin
    1.39 +    cp $_pkg/usr/bin/tset $fs/usr/bin
    1.40 +    cp $_pkg/usr/bin/reset $fs/usr/bin
    1.41 +    
    1.42 +    # Terminfo.
    1.43 +    mkdir -p $fs/usr/share/terminfo
    1.44 +    for dir in a l r v x
    1.45 +    do
    1.46 +        mkdir $fs/usr/share/terminfo/$dir
    1.47 +    done
    1.48 +    cp $_pkg/usr/share/terminfo/a/ansi \
    1.49 +    $fs/usr/share/terminfo/a
    1.50 +    cp $_pkg/usr/share/terminfo/l/linux \
    1.51 +    $fs/usr/share/terminfo/l
    1.52 +    cp $_pkg/usr/share/terminfo/r/rxvt \
    1.53 +    $fs/usr/share/terminfo/r
    1.54 +    cp $_pkg/usr/share/terminfo/x/xterm \
    1.55 +    $fs/usr/share/terminfo/x
    1.56 +    cp $_pkg/usr/share/terminfo/x/xterm-color \
    1.57 +    $fs/usr/share/terminfo/x
    1.58 +    cp $_pkg/usr/share/terminfo/x/xterm-new \
    1.59 +    $fs/usr/share/terminfo/x
    1.60 +    cp $_pkg/usr/share/terminfo/x/xterm-vt220 \
    1.61 +    $fs/usr/share/terminfo/x
    1.62 +    cp $_pkg/usr/share/terminfo/v/vt100 \
    1.63 +    $fs/usr/share/terminfo/v
    1.64 +    cp $_pkg/usr/share/terminfo/v/vt102* \
    1.65 +    $fs/usr/share/terminfo/v
    1.66 +    
    1.67 +    # Tabset.
    1.68 +    cp -a $_pkg/usr/share/tabset $fs/usr/share
    1.69 +}