wok-stable annotate ncurses/receipt @ rev 12465

Up e2fsprogs (1.44.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 04 18:42:23 2019 +0100 (2019-03-04)
parents ef827f291143
children
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 \
gokhlayeh@11379 32 --mandir=/usr/share/man \
pankso@4884 33 --with-shared \
pankso@4884 34 --without-debug \
slaxemulator@10092 35 --without-ada \
pankso@10274 36 --build=$HOST_SYSTEM \
pankso@10274 37 --host=$HOST_SYSTEM &&
gokhlayeh@8203 38 make && make install
pankso@7 39 }
pankso@7 40
pankso@7 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 42 genpkg_rules()
pankso@7 43 {
pankso@4884 44 mkdir -p $fs/lib
pankso@7 45 cp -a $_pkg/lib/libncurses.so* $fs/lib
pankso@7 46 }