wok annotate sqlite3-ruby/receipt @ rev 16070
Add reqflow
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 13 11:17:54 2014 +0000 (2014-03-13) |
parents | 4af8ad8c803b |
children | e9d32d74d80b |
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" |
pascal@15379 | 8 LICENSE="BSD" |
pascal@15379 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@15379 | 10 WEB_SITE="rubyforge.org/projects/sqlite-ruby" |
pascal@15379 | 11 WGET_URL="http://rubyforge.org/frs/download.php/71617/$TARBALL" |
pascal@15379 | 12 |
erjo@8060 | 13 DEPENDS="ruby sqlite" |
erjo@8060 | 14 BUILD_DEPENDS="ruby ruby-dev sqlite-dev" |
erjo@8060 | 15 |
erjo@8060 | 16 # Rules to configure and make the package. |
erjo@8060 | 17 compile_rules() |
erjo@8060 | 18 { |
erjo@8060 | 19 cd $src |
erjo@8060 | 20 ruby setup.rb config |
erjo@8060 | 21 ruby setup.rb setup |
pascal@15379 | 22 ruby setup.rb install --prefix=$DESTDIR |
erjo@8060 | 23 } |
erjo@8060 | 24 |
erjo@8060 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8060 | 26 genpkg_rules() |
erjo@8060 | 27 { |
erjo@8060 | 28 mkdir -p $fs/usr |
pascal@15379 | 29 cp -a $install/usr/lib $fs/usr |
erjo@8060 | 30 } |
erjo@8060 | 31 |