wok-4.x annotate ncursesw/receipt @ rev 7893
attr: Need bash sh to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Jan 09 13:53:34 2011 +0100 (2011-01-09) |
parents | |
children | 343b99a69999 |
rev | line source |
---|---|
pankso@4884 | 1 # SliTaz package receipt. |
pankso@4884 | 2 |
pankso@4884 | 3 PACKAGE="ncursesw" |
pankso@4884 | 4 VERSION="5.7" |
pankso@4884 | 5 SOURCE="ncurses" |
pankso@4884 | 6 CATEGORY="base-system" |
pankso@4884 | 7 SHORT_DESC="Library of functions to manage display on terminals." |
pankso@4884 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@4884 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@4884 | 10 WEB_SITE="http://invisible-island.net/ncurses/" |
pankso@4884 | 11 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL" |
pankso@4884 | 12 |
pankso@4884 | 13 # Rules to configure and make the package. |
pankso@4884 | 14 compile_rules() |
pankso@4884 | 15 { |
pankso@4884 | 16 cd $src |
pankso@4884 | 17 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ |
pankso@4884 | 18 include/Makefile.in |
pankso@4884 | 19 ./configure \ |
pankso@4884 | 20 --prefix=/usr \ |
pankso@4884 | 21 --libdir=/lib \ |
pankso@4884 | 22 --sysconfdir=/etc \ |
pankso@4884 | 23 --infodir=/usr/share/info \ |
pankso@4884 | 24 --mandir=/usr/share/man \ |
pankso@4884 | 25 --with-shared \ |
pankso@4884 | 26 --without-debug \ |
pankso@4884 | 27 --without-ada \ |
pankso@4884 | 28 --enable-widec \ |
pankso@4884 | 29 $CONFIGURE_ARGS && |
pankso@4884 | 30 make && |
pankso@4884 | 31 make DESTDIR=$PWD/_pkg install |
pankso@4884 | 32 } |
pankso@4884 | 33 |
pankso@4884 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4884 | 35 genpkg_rules() |
pankso@4884 | 36 { |
pankso@4884 | 37 mkdir -p $fs/lib $fs/usr/bin |
pankso@4884 | 38 |
pankso@4884 | 39 # Libs. |
pankso@4884 | 40 cp -a $_pkg/lib/libncursesw.so* $fs/lib |
pankso@4884 | 41 |
pankso@4884 | 42 # Base progs. |
pankso@4884 | 43 cp $_pkg/usr/bin/clear $fs/usr/bin |
pankso@4884 | 44 cp $_pkg/usr/bin/tset $fs/usr/bin |
pankso@4884 | 45 cp $_pkg/usr/bin/reset $fs/usr/bin |
pankso@4884 | 46 } |