wok annotate ruby/receipt @ rev 1943

ndiswrapper, change category.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Dec 28 15:10:04 2008 +0100 (2008-12-28)
parents b61b574cf78e
children a2850bc26b12
rev   line source
pankso@27 1 # SliTaz package receipt.
pankso@27 2
pankso@27 3 PACKAGE="ruby"
pankso@883 4 VERSION="1.8.7"
pankso@200 5 CATEGORY="development"
pankso@27 6 SHORT_DESC="Dynamic programming language focused on simplicity and productivity."
pankso@27 7 MAINTAINER="pankso@slitaz.org"
pankso@27 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@27 9 WEB_SITE="http://www.ruby-lang.org/"
pankso@883 10 WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.8/$TARBALL"
pankso@27 11
pankso@27 12 # Rules to configure and make the package.
pankso@27 13 compile_rules()
pankso@27 14 {
pankso@27 15 cd $src
pankso@883 16 ./configure \
pankso@883 17 --prefix=/usr \
pankso@883 18 --infodir=/usr/share/info \
pankso@883 19 --mandir=/usr/share/man \
pankso@883 20 $CONFIGURE_ARGS
pankso@27 21 make
pankso@27 22 make DESTDIR=$PWD/_pkg install
pankso@27 23 }
pankso@27 24
pankso@27 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@27 26 genpkg_rules()
pankso@27 27 {
pankso@27 28 mkdir -p $fs/usr/lib
pankso@27 29 cp -a $_pkg/usr/lib/ruby $fs/usr/lib
pankso@27 30 cp -a $_pkg/usr/bin $fs/usr
pankso@27 31
pankso@883 32 # Remove devel files
pankso@883 33 rm $fs/usr/lib/ruby/1.8/i486-linux/*.h
pankso@27 34 }
pankso@78 35
pankso@78 36 # Remove old libs.
pankso@883 37 #post_install()
pankso@883 38 #{
pankso@883 39 #local root
pankso@883 40 #root=$1
pankso@883 41 #rm -rf $root/usr/lib/ruby/1.8
pankso@883 42 #}