wok-next annotate ncursesw/receipt @ rev 8856
Fixed ovz-web-panel category.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Feb 25 10:26:11 2011 +0000 (2011-02-25) |
parents | 64cf592b6880 |
children | 2ad34d8fdfe7 |
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" |
slaxemulator@8394 | 12 SRC_WANTED="$SOURCE" |
pankso@4884 | 13 |
pankso@4884 | 14 # Rules to configure and make the package. |
pankso@4884 | 15 compile_rules() |
pankso@4884 | 16 { |
pankso@4884 | 17 cd $src |
pankso@4884 | 18 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ |
pankso@4884 | 19 include/Makefile.in |
pankso@4884 | 20 ./configure \ |
pankso@4884 | 21 --prefix=/usr \ |
pankso@4884 | 22 --libdir=/lib \ |
pankso@4884 | 23 --sysconfdir=/etc \ |
pankso@4884 | 24 --infodir=/usr/share/info \ |
pankso@4884 | 25 --mandir=/usr/share/man \ |
pankso@4884 | 26 --with-shared \ |
pankso@4884 | 27 --without-debug \ |
pankso@4884 | 28 --without-ada \ |
pankso@4884 | 29 --enable-widec \ |
pankso@4884 | 30 $CONFIGURE_ARGS && |
pankso@4884 | 31 make && |
pankso@4884 | 32 make DESTDIR=$PWD/_pkg install |
pankso@4884 | 33 } |
pankso@4884 | 34 |
pankso@4884 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4884 | 36 genpkg_rules() |
pankso@4884 | 37 { |
pankso@4884 | 38 mkdir -p $fs/lib $fs/usr/bin |
pankso@4884 | 39 |
pankso@4884 | 40 # Libs. |
pankso@4884 | 41 cp -a $_pkg/lib/libncursesw.so* $fs/lib |
pankso@4884 | 42 |
pankso@4884 | 43 # Base progs. |
pankso@4884 | 44 cp $_pkg/usr/bin/clear $fs/usr/bin |
pankso@4884 | 45 cp $_pkg/usr/bin/tset $fs/usr/bin |
pankso@4884 | 46 cp $_pkg/usr/bin/reset $fs/usr/bin |
pankso@4884 | 47 } |