wok-undigest annotate sqlite3-ruby/receipt @ rev 210
Up: gcompris (9.5) still not ready for cooking/stable
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 03 22:46:07 2011 +0100 (2011-01-03) |
parents | |
children |
rev | line source |
---|---|
erjo@206 | 1 # SliTaz package receipt. |
erjo@206 | 2 |
erjo@206 | 3 PACKAGE="sqlite3-ruby" |
erjo@206 | 4 VERSION="1.3.1" |
erjo@206 | 5 CATEGORY="development" |
erjo@206 | 6 SHORT_DESC="Ruby interface for the SQLite database engine" |
erjo@206 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@206 | 8 DEPENDS="ruby sqlite" |
erjo@206 | 9 BUILD_DEPENDS="ruby sqlite-dev" |
erjo@206 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
erjo@206 | 11 WEB_SITE="rubyforge.org/projects/sqlite-ruby" |
erjo@206 | 12 WGET_URL="http://rubyforge.org/frs/download.php/71617/sqlite3-ruby-1.3.1.tgz" |
erjo@206 | 13 |
erjo@206 | 14 # Rules to configure and make the package. |
erjo@206 | 15 compile_rules() |
erjo@206 | 16 { |
erjo@206 | 17 cd $src |
erjo@206 | 18 ruby setup.rb config |
erjo@206 | 19 ruby setup.rb setup |
erjo@206 | 20 ruby setup.rb install --prefix=$PWD/_pkg |
erjo@206 | 21 } |
erjo@206 | 22 |
erjo@206 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@206 | 24 genpkg_rules() |
erjo@206 | 25 { |
erjo@206 | 26 mkdir -p $fs/usr |
erjo@206 | 27 cp -a $_pkg/usr/lib $fs/usr |
erjo@206 | 28 } |
erjo@206 | 29 |