wok-6.x rev 8060

Add: sqlite3-ruby
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jan 21 01:07:16 2011 +0100 (2011-01-21)
parents 743b39940f08
children 94e1889a6838
files sqlite3-ruby/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sqlite3-ruby/receipt	Fri Jan 21 01:07:16 2011 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="sqlite3-ruby"
     1.7 +VERSION="1.3.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Ruby interface for the SQLite database engine"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="ruby sqlite"
    1.12 +BUILD_DEPENDS="ruby ruby-dev sqlite-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tgz"
    1.14 +WEB_SITE="rubyforge.org/projects/sqlite-ruby"
    1.15 +WGET_URL="http://rubyforge.org/frs/download.php/71617/sqlite3-ruby-1.3.1.tgz"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	ruby setup.rb config
    1.22 +	ruby setup.rb setup
    1.23 +	ruby setup.rb install --prefix=$PWD/_pkg
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr
    1.30 +	cp -a $_pkg/usr/lib $fs/usr
    1.31 +}
    1.32 +