wok-4.x diff ruby-enterprise/receipt @ rev 9641

Fixed rhino, ecj, and xalan-xerces-j depends. Putting java-jre for depends was a bad idea since these packages are build depends for icedtea6-jdk. java-jre is a wanted package for icetea6-jdk. This was causing a depend loop.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Apr 27 16:22:35 2011 +0000 (2011-04-27)
parents
children 0ed87241adde
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ruby-enterprise/receipt	Wed Apr 27 16:22:35 2011 +0000
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ruby-enterprise"
     1.7 +VERSION="1.8.7-2011.03"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Ruby Enterprise Edition"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="libdb ncurses libssl readline zlib"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.rubyenterpriseedition.com/"
    1.14 +WGET_URL="http://rubyenterpriseedition.googlecode.com/files/$TARBALL"
    1.15 +BUILD_DEPENDS="zlib-dev"
    1.16 +SUGGESTED="tk xorg-libXss gdbm"
    1.17 +PROVIDES="ruby"
    1.18 +TAGS="ruby language programming"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src/source
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--infodir=/usr/share/info \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib
    1.37 +	cp -a $src/source/_pkg/usr/lib/ruby $fs/usr/lib
    1.38 +	cp -a $src/source/_pkg/usr/bin $fs/usr
    1.39 +	
    1.40 +	# Remove devel files --> ruby-enterprise-dev
    1.41 +	rm $fs/usr/lib/ruby/1.8/i486-linux/*.h
    1.42 +	
    1.43 +	# Remove doc --> ruby-enterprise-doc
    1.44 +	rm -rf $fs/usr/lib/ruby/1.8/rdoc
    1.45 +}
    1.46 +