wok-next view sqlite3-ruby/receipt @ rev 9012
python-gazpacho: Replace _pkg with DESTDIR. This fixes it.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 03 12:49:02 2011 +0000 (2011-03-03) |
parents | |
children | 2a5cc8208d36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sqlite3-ruby"
4 VERSION="1.3.1"
5 CATEGORY="development"
6 SHORT_DESC="Ruby interface for the SQLite database engine"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="ruby sqlite"
9 BUILD_DEPENDS="ruby ruby-dev sqlite-dev"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="rubyforge.org/projects/sqlite-ruby"
12 WGET_URL="http://rubyforge.org/frs/download.php/71617/sqlite3-ruby-1.3.1.tgz"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ruby setup.rb config
19 ruby setup.rb setup
20 ruby setup.rb install --prefix=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 }