wok-current diff ruby-ncurses/receipt @ rev 16812

itstool: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 10 09:44:21 2014 +0200 (2014-07-10)
parents
children cc6bbcf323fa
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ruby-ncurses/receipt	Thu Jul 10 09:44:21 2014 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ruby-ncurses"
     1.7 +VERSION="1.3.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Ruby extension for the ncurses C library."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="ruby ncurses"
    1.12 +BUILD_DEPENDS="ruby-dev ncurses-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +SOURCE="ncurses-ruby"
    1.15 +WEB_SITE="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/"
    1.16 +WGET_URL="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/ncurses-ruby-1.3.1.tar.bz2/63fd3d09a51cdd745e1ed37f85621ea2/ncurses-ruby-1.3.1.tar.bz2"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	# use fedora patches
    1.23 +	patch -i ../../stuff/STR2CSTR-deprecated.patch
    1.24 +	patch -i ../../stuff/ruby-ncurses-fix-missing-tz-prototypes.patch
    1.25 +	ruby extconf.rb 
    1.26 +  	make
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $install/usr/lib $fs/usr
    1.35 +}
    1.36 +