wok-current annotate ruby-ncurses/receipt @ rev 21435

updated mhwaveedit (1.4.23 -> 1.4.24)
author Hans-G?nter Theisgen
date Sat Apr 27 16:09:59 2019 +0100 (2019-04-27)
parents cc6bbcf323fa
children 8e65b867668e
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"
paul@16777 9 DEPENDS="ruby ncurses"
paul@16777 10 BUILD_DEPENDS="ruby-dev ncurses-dev"
paul@16777 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
paul@16777 12 SOURCE="ncurses-ruby"
paul@16777 13 WEB_SITE="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/"
pascal@17869 14 WGET_URL="${WEB_SITE}$TARBALL/63fd3d09a51cdd745e1ed37f85621ea2/$TARBALL"
paul@16777 15
paul@16777 16 # Rules to configure and make the package.
paul@16777 17 compile_rules()
paul@16777 18 {
paul@16777 19 # use fedora patches
paul@16777 20 patch -i ../../stuff/STR2CSTR-deprecated.patch
paul@16777 21 patch -i ../../stuff/ruby-ncurses-fix-missing-tz-prototypes.patch
paul@16777 22 ruby extconf.rb
paul@16777 23 make
paul@16777 24 make DESTDIR=$DESTDIR install
paul@16777 25 }
paul@16777 26
paul@16777 27 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16777 28 genpkg_rules()
paul@16777 29 {
paul@16777 30 mkdir -p $fs/usr
paul@16777 31 cp -a $install/usr/lib $fs/usr
paul@16777 32 }