slitaz-forge rev 26

add rb-mysql, rb-i18n
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Mar 02 01:22:09 2011 +0100 (2011-03-02)
parents 10b68941712e
children 5078ab98a546
files rb-i18n/receipt rb-mysql/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rb-i18n/receipt	Wed Mar 02 01:22:09 2011 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="rb-i18n"
     1.7 +VERSION="0.5.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Internationalization support for Ruby."
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="ruby activesupport"
    1.12 +BUID_DEPENDS="rubygems"
    1.13 +SOURCE="i18n"
    1.14 +TARBALL="$SOURCE-$VERSION.gem"
    1.15 +WEB_SITE="http://rubygems.org/gems/activeresource"
    1.16 +WGET_URL="http://rubygems.org/downloads/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	[ -d $SOURCE-$VERSION ] || mkdir $SOURCE-$VERSION
    1.22 +	cd $src
    1.23 +
    1.24 +	RUBY_VERSION="$(ruby -e 'print RUBY_VERSION')"
    1.25 +	gem install --no-rdoc --no-ri --ignore-dependencies \
    1.26 +		--install-dir $PWD/_pkg/usr/lib/ruby/gems/${RUBY_VERSION%.*} $SOURCES_REPOSITORY/$TARBALL
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	RUBY_VERSION="$(ruby -e 'print RUBY_VERSION')"
    1.33 +	mkdir -p $fs/usr
    1.34 +	
    1.35 +	cp -a $_pkg/usr/lib $fs/usr
    1.36 +}
    1.37 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/rb-mysql/receipt	Wed Mar 02 01:22:09 2011 +0100
     2.3 @@ -0,0 +1,35 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKED_SIZE="4.0k"
     2.7 +UNPACKED_SIZE="4.0k"
     2.8 +PACKAGE="rb-mysql"
     2.9 +VERSION="2.8.1"
    2.10 +CATEGORY="development"
    2.11 +SHORT_DESC="MySQL API module for Ruby"
    2.12 +MAINTAINER="erjo@slitaz.org"
    2.13 +DEPENDS="ruby  libmysqlclient"
    2.14 +SOURCE="mysql"
    2.15 +BUILD_DEPENDS="mysql-dev rubygems"
    2.16 +TARBALL="$SOURCE-$VERSION.gem"
    2.17 +WEB_SITE="http://rubygems.org/gems/mysql"
    2.18 +WGET_URL="http://rubygems.org/downloads/$TARBALL"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	[ -d $SOURCE-$VERSION ] || mkdir $SOURCE-$VERSION
    2.24 +	cd $src
    2.25 +
    2.26 +	RUBY_VERSION="$(ruby -e 'print RUBY_VERSION')"
    2.27 +	gem install --no-rdoc --no-ri --ignore-dependencies \
    2.28 +		--install-dir $PWD/_pkg/usr/lib/ruby/gems/${RUBY_VERSION%.*} $SOURCES_REPOSITORY/$TARBALL
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	RUBY_VERSION="$(ruby -e 'print RUBY_VERSION')"
    2.35 +	mkdir -p $fs/usr
    2.36 +	
    2.37 +	cp -a $_pkg/usr/lib $fs/usr
    2.38 +}