wok diff ncursesw/receipt @ rev 8033

Fixed typo in one of xorg-xcompmgr build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Jan 20 01:26:55 2011 +0000 (2011-01-20)
parents
children 343b99a69999
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ncursesw/receipt	Thu Jan 20 01:26:55 2011 +0000
     1.3 @@ -0,0 +1,46 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ncursesw"
     1.7 +VERSION="5.7"
     1.8 +SOURCE="ncurses"
     1.9 +CATEGORY="base-system"
    1.10 +SHORT_DESC="Library of functions to manage display on terminals."
    1.11 +MAINTAINER="pankso@slitaz.org"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://invisible-island.net/ncurses/"
    1.14 +WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
    1.21 +		include/Makefile.in
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--libdir=/lib \
    1.25 +		--sysconfdir=/etc \
    1.26 +		--infodir=/usr/share/info \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		--with-shared \
    1.29 +		--without-debug \
    1.30 +		--without-ada \
    1.31 +		--enable-widec \
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make &&
    1.34 +	make DESTDIR=$PWD/_pkg install
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/lib $fs/usr/bin
    1.41 +	
    1.42 +	# Libs.
    1.43 +	cp -a $_pkg/lib/libncursesw.so* $fs/lib
    1.44 +	
    1.45 +	# Base progs.
    1.46 +	cp $_pkg/usr/bin/clear $fs/usr/bin
    1.47 +	cp $_pkg/usr/bin/tset $fs/usr/bin
    1.48 +	cp $_pkg/usr/bin/reset $fs/usr/bin
    1.49 +}