wok-6.x annotate ncurses/receipt @ rev 8931
Up: ncurses to 5.8.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 01 04:03:29 2011 +0000 (2011-03-01) |
parents | 86b10c2ec3e1 |
children | 70c50cf7bbf2 |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="ncurses" |
slaxemulator@8931 | 4 VERSION="5.8" |
pankso@210 | 5 CATEGORY="base-system" |
pascal@2086 | 6 SHORT_DESC="Library of functions to manage display on terminals." |
pankso@4884 | 7 DEPENDS="ncurses-common" |
gokhlayeh@8203 | 8 BUILD_DEPENDS="gcc" |
pankso@7 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@7 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7 | 11 WEB_SITE="http://invisible-island.net/ncurses/" |
pankso@7 | 12 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL" |
pankso@7 | 13 |
gokhlayeh@8203 | 14 # Rules to compile & install the temporary toolchain. |
gokhlayeh@8203 | 15 cook_tmp_toolchain() |
gokhlayeh@8203 | 16 { |
gokhlayeh@8203 | 17 cd $src |
gokhlayeh@8203 | 18 ./configure --with-shared --without-debug \ |
gokhlayeh@8203 | 19 --without-ada --enable-overwrite && |
gokhlayeh@8203 | 20 make && make install |
gokhlayeh@8203 | 21 } |
gokhlayeh@8203 | 22 |
pankso@7 | 23 # Rules to configure and make the package. |
pankso@7 | 24 compile_rules() |
pankso@7 | 25 { |
gokhlayeh@8203 | 26 cd $src |
gokhlayeh@8203 | 27 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ |
gokhlayeh@8203 | 28 include/Makefile.in |
gokhlayeh@8203 | 29 ./configure \ |
pankso@4884 | 30 --libdir=/lib \ |
pankso@4884 | 31 --sysconfdir=/etc \ |
pankso@4884 | 32 --with-shared \ |
pankso@4884 | 33 --without-debug \ |
gokhlayeh@8203 | 34 --without-ada && |
gokhlayeh@8203 | 35 make && make install |
pankso@7 | 36 } |
pankso@7 | 37 |
pankso@7 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 39 genpkg_rules() |
pankso@7 | 40 { |
pankso@4884 | 41 mkdir -p $fs/lib |
pankso@7 | 42 cp -a $_pkg/lib/libncurses.so* $fs/lib |
pankso@7 | 43 } |