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

Add qtpanel
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Sep 18 23:48:17 2014 +0200 (2014-09-18)
parents
children cc6bbcf323fa
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"
paul@16777 8 DEPENDS="ruby ncurses"
paul@16777 9 BUILD_DEPENDS="ruby-dev ncurses-dev"
paul@16777 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
paul@16777 11 SOURCE="ncurses-ruby"
paul@16777 12 WEB_SITE="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/"
paul@16777 13 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 14
paul@16777 15 # Rules to configure and make the package.
paul@16777 16 compile_rules()
paul@16777 17 {
paul@16777 18 cd $src
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 }
paul@16777 33