# SliTaz package receipt. PACKAGE="sqlite3-ruby" VERSION="1.3.1" CATEGORY="development" SHORT_DESC="Ruby interface for the SQLite database engine" MAINTAINER="erjo@slitaz.org" DEPENDS="ruby sqlite" BUILD_DEPENDS="ruby ruby-dev sqlite-dev" TARBALL="$PACKAGE-$VERSION.tgz" WEB_SITE="rubyforge.org/projects/sqlite-ruby" WGET_URL="http://rubyforge.org/frs/download.php/71617/sqlite3-ruby-1.3.1.tgz" # Rules to configure and make the package. compile_rules() { cd $src ruby setup.rb config ruby setup.rb setup ruby setup.rb install --prefix=$PWD/_pkg } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/lib $fs/usr }