wok view ncursesw/receipt @ rev 8774

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