wok annotate sqlite3-ruby/receipt @ rev 8180
imported patch toolchain/gcc-lib-base.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | |
children | 2a5cc8208d36 |
rev | line source |
---|---|
erjo@8060 | 1 # SliTaz package receipt. |
erjo@8060 | 2 |
erjo@8060 | 3 PACKAGE="sqlite3-ruby" |
erjo@8060 | 4 VERSION="1.3.1" |
erjo@8060 | 5 CATEGORY="development" |
erjo@8060 | 6 SHORT_DESC="Ruby interface for the SQLite database engine" |
erjo@8060 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@8060 | 8 DEPENDS="ruby sqlite" |
erjo@8060 | 9 BUILD_DEPENDS="ruby ruby-dev sqlite-dev" |
erjo@8060 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
erjo@8060 | 11 WEB_SITE="rubyforge.org/projects/sqlite-ruby" |
erjo@8060 | 12 WGET_URL="http://rubyforge.org/frs/download.php/71617/sqlite3-ruby-1.3.1.tgz" |
erjo@8060 | 13 |
erjo@8060 | 14 # Rules to configure and make the package. |
erjo@8060 | 15 compile_rules() |
erjo@8060 | 16 { |
erjo@8060 | 17 cd $src |
erjo@8060 | 18 ruby setup.rb config |
erjo@8060 | 19 ruby setup.rb setup |
erjo@8060 | 20 ruby setup.rb install --prefix=$PWD/_pkg |
erjo@8060 | 21 } |
erjo@8060 | 22 |
erjo@8060 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8060 | 24 genpkg_rules() |
erjo@8060 | 25 { |
erjo@8060 | 26 mkdir -p $fs/usr |
erjo@8060 | 27 cp -a $_pkg/usr/lib $fs/usr |
erjo@8060 | 28 } |
erjo@8060 | 29 |