wok-6.x annotate ncurses/receipt @ rev 10431

openldap-dev+libldap: also update to 2.24.5
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 00:06:24 2011 +0200 (2011-05-25)
parents 35363a41f4c2
children 92bae5620673
rev   line source
pankso@7 1 # SliTaz package receipt.
pankso@7 2
pankso@7 3 PACKAGE="ncurses"
slaxemulator@9487 4 VERSION="5.9"
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 \
slaxemulator@10092 34 --without-ada \
pankso@10274 35 --build=$HOST_SYSTEM \
pankso@10274 36 --host=$HOST_SYSTEM &&
gokhlayeh@8203 37 make && make install
pankso@7 38 }
pankso@7 39
pankso@7 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 41 genpkg_rules()
pankso@7 42 {
pankso@4884 43 mkdir -p $fs/lib
pankso@7 44 cp -a $_pkg/lib/libncurses.so* $fs/lib
pankso@7 45 }