wok-6.x annotate ruby-ncurses/receipt @ rev 22646

updated dillo (3.0.4 -> 3.0.5)
author Hans-G?nter Theisgen
date Tue Jan 14 10:11:07 2020 +0100 (2020-01-14)
parents d3eb5f4b53ea
children a3c45ab9082e
rev   line source
paul@16777 1 # SliTaz package receipt.
paul@16777 2
paul@16777 3 PACKAGE="ruby-ncurses"
paul@16777 4 VERSION="1.3.1"
paul@16777 5 CATEGORY="development"
paul@16777 6 SHORT_DESC="Ruby extension for the ncurses C library."
paul@16777 7 MAINTAINER="paul@slitaz.org"
pascal@17216 8 LICENSE="LGPL2.1"
Hans-G?nter@22182 9
paul@16777 10 DEPENDS="ruby ncurses"
Hans-G?nter@22182 11 BUILD_DEPENDS="glibc-dev ncurses-dev ruby-dev"
Hans-G?nter@22182 12
paul@16777 13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
paul@16777 14 SOURCE="ncurses-ruby"
paul@16777 15 WEB_SITE="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/"
pascal@17869 16 WGET_URL="${WEB_SITE}$TARBALL/63fd3d09a51cdd745e1ed37f85621ea2/$TARBALL"
paul@16777 17
paul@16777 18 # Rules to configure and make the package.
paul@16777 19 compile_rules()
paul@16777 20 {
paul@16777 21 # use fedora patches
paul@16777 22 patch -i ../../stuff/STR2CSTR-deprecated.patch
paul@16777 23 patch -i ../../stuff/ruby-ncurses-fix-missing-tz-prototypes.patch
Hans-G?nter@22182 24
Hans-G?nter@22182 25 ruby extconf.rb &&
Hans-G?nter@22182 26 make &&
paul@16777 27 make DESTDIR=$DESTDIR install
paul@16777 28 }
paul@16777 29
paul@16777 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16777 31 genpkg_rules()
paul@16777 32 {
paul@16777 33 mkdir -p $fs/usr
paul@16777 34 cp -a $install/usr/lib $fs/usr
paul@16777 35 }