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

mpv: update bdeps
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Mar 01 20:25:52 2015 +0100 (2015-03-01)
parents 8fcfcd2e1445
children d3eb5f4b53ea
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/"
paul@16777 14 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"
paul@16777 15
paul@16777 16 # Rules to configure and make the package.
paul@16777 17 compile_rules()
paul@16777 18 {
paul@16777 19 cd $src
paul@16777 20 # use fedora patches
paul@16777 21 patch -i ../../stuff/STR2CSTR-deprecated.patch
paul@16777 22 patch -i ../../stuff/ruby-ncurses-fix-missing-tz-prototypes.patch
paul@16777 23 ruby extconf.rb
paul@16777 24 make
paul@16777 25 make DESTDIR=$DESTDIR install
paul@16777 26 }
paul@16777 27
paul@16777 28 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16777 29 genpkg_rules()
paul@16777 30 {
paul@16777 31 mkdir -p $fs/usr
paul@16777 32 cp -a $install/usr/lib $fs/usr
paul@16777 33 }
paul@16777 34