wok-current annotate sqlite3-ruby/receipt @ rev 21219
Up vcdimager-xmltools (2.0.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 10 11:27:25 2019 +0200 (2019-04-10) |
parents | e9d32d74d80b |
children | 1df6fa555414 |
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@20682 | 10 WEB_SITE="https://rubygems.org/gems/sqlite3" |
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 |