
Receipt for package "ruby-ncurses"
# SliTaz package receipt. PACKAGE="ruby-ncurses" VERSION="1.3.1" CATEGORY="development" SHORT_DESC="Ruby extension for the ncurses C library." MAINTAINER="paul@slitaz.org" LICENSE="LGPL2.1" DEPENDS="ruby ncurses" BUILD_DEPENDS="glibc-dev ncurses-dev ruby-dev" TARBALL="$PACKAGE-$VERSION.tar.bz2" SOURCE="ncurses-ruby" WEB_SITE="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/" WGET_URL="${WEB_SITE}$SOURCE-$VERSION.tar.bz2/63fd3d09a51cdd745e1ed37f85621ea2/$SOURCE-$VERSION.tar.bz2" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { # use fedora patches patch -i ../../stuff/STR2CSTR-deprecated.patch patch -i ../../stuff/ruby-ncurses-fix-missing-tz-prototypes.patch ruby extconf.rb && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/lib $fs/usr }
6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)