wok diff sqlite3-ruby/receipt @ rev 8178

imported patch toolchain/elfutils.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:49 2011 +0100 (2011-01-27)
parents
children 2a5cc8208d36
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sqlite3-ruby/receipt	Thu Jan 27 00:20:49 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 +