wok-4.x view ncurses/receipt @ rev 6914
Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 23:49:16 2010 +0000 (2010-10-21) |
parents | aa0dad286215 |
children | 86b10c2ec3e1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses"
4 VERSION="5.7"
5 CATEGORY="base-system"
6 SHORT_DESC="Library of functions to manage display on terminals."
7 DEPENDS="ncurses-common"
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://invisible-island.net/ncurses/"
11 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
18 include/Makefile.in
19 ./configure \
20 --prefix=/usr \
21 --libdir=/lib \
22 --sysconfdir=/etc \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --with-shared \
26 --without-debug \
27 --without-ada \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/lib
37 cp -a $_pkg/lib/libncurses.so* $fs/lib
38 }