wok-6.x diff ncurses/receipt @ rev 6239

Up: cryptsetup, cryptsetup-dev to 1.1.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Sep 12 12:40:23 2010 +0000 (2010-09-12)
parents aa0dad286215
children 86b10c2ec3e1
line diff
     1.1 --- a/ncurses/receipt	Tue Jan 27 19:54:40 2009 +0100
     1.2 +++ b/ncurses/receipt	Sun Sep 12 12:40:23 2010 +0000
     1.3 @@ -4,6 +4,7 @@
     1.4  VERSION="5.7"
     1.5  CATEGORY="base-system"
     1.6  SHORT_DESC="Library of functions to manage display on terminals."
     1.7 +DEPENDS="ncurses-common"
     1.8  MAINTAINER="pankso@slitaz.org"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://invisible-island.net/ncurses/"
    1.11 @@ -12,13 +13,18 @@
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -    cd $PACKAGE-$VERSION
    1.16 +    cd $src
    1.17      sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
    1.18      	include/Makefile.in
    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 \
    1.24 +		--prefix=/usr \
    1.25 +		--libdir=/lib \
    1.26 +		--sysconfdir=/etc \
    1.27 +		--infodir=/usr/share/info \
    1.28 +		--mandir=/usr/share/man \
    1.29 +		--with-shared \
    1.30 +		--without-debug \
    1.31 +		--without-ada \
    1.32      $CONFIGURE_ARGS &&
    1.33      make &&
    1.34      make DESTDIR=$PWD/_pkg install
    1.35 @@ -27,42 +33,6 @@
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -    mkdir -p $fs/lib $fs/usr/bin
    1.40 -    
    1.41 -    # Libs.
    1.42 +    mkdir -p $fs/lib
    1.43      cp -a $_pkg/lib/libncurses.so* $fs/lib
    1.44 -    strip --strip-unneeded $fs/lib/*.so*
    1.45 -    
    1.46 -    # Base progs.
    1.47 -    cp $_pkg/usr/bin/clear $fs/usr/bin
    1.48 -    cp $_pkg/usr/bin/tset $fs/usr/bin
    1.49 -    cp $_pkg/usr/bin/reset $fs/usr/bin
    1.50 -    
    1.51 -    # Terminfo.
    1.52 -    mkdir -p $fs/usr/share/terminfo
    1.53 -    for dir in a l r v x
    1.54 -    do
    1.55 -        mkdir $fs/usr/share/terminfo/$dir
    1.56 -    done
    1.57 -    cp $_pkg/usr/share/terminfo/a/ansi \
    1.58 -    $fs/usr/share/terminfo/a
    1.59 -    cp $_pkg/usr/share/terminfo/l/linux \
    1.60 -    $fs/usr/share/terminfo/l
    1.61 -    cp $_pkg/usr/share/terminfo/r/rxvt \
    1.62 -    $fs/usr/share/terminfo/r
    1.63 -    cp $_pkg/usr/share/terminfo/x/xterm \
    1.64 -    $fs/usr/share/terminfo/x
    1.65 -    cp $_pkg/usr/share/terminfo/x/xterm-color \
    1.66 -    $fs/usr/share/terminfo/x
    1.67 -    cp $_pkg/usr/share/terminfo/x/xterm-new \
    1.68 -    $fs/usr/share/terminfo/x
    1.69 -    cp $_pkg/usr/share/terminfo/x/xterm-vt220 \
    1.70 -    $fs/usr/share/terminfo/x
    1.71 -    cp $_pkg/usr/share/terminfo/v/vt100 \
    1.72 -    $fs/usr/share/terminfo/v
    1.73 -    cp $_pkg/usr/share/terminfo/v/vt102* \
    1.74 -    $fs/usr/share/terminfo/v
    1.75 -    
    1.76 -    # Tabset.
    1.77 -    cp -a $_pkg/usr/share/tabset $fs/usr/share
    1.78  }