wok diff sqlite3-ruby/receipt @ rev 20155

ppp: add post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 21 09:59:35 2017 +0100 (2017-12-21)
parents 4af8ad8c803b
children e9d32d74d80b
line diff
     1.1 --- a/sqlite3-ruby/receipt	Fri Jan 21 01:07:16 2011 +0100
     1.2 +++ b/sqlite3-ruby/receipt	Thu Dec 21 09:59:35 2017 +0100
     1.3 @@ -5,11 +5,13 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Ruby interface for the SQLite database engine"
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 +LICENSE="BSD"
     1.8 +TARBALL="$PACKAGE-$VERSION.tgz"
     1.9 +WEB_SITE="rubyforge.org/projects/sqlite-ruby"
    1.10 +WGET_URL="http://rubyforge.org/frs/download.php/71617/$TARBALL"
    1.11 +
    1.12  DEPENDS="ruby sqlite"
    1.13  BUILD_DEPENDS="ruby ruby-dev sqlite-dev"
    1.14 -TARBALL="$PACKAGE-$VERSION.tgz"
    1.15 -WEB_SITE="rubyforge.org/projects/sqlite-ruby"
    1.16 -WGET_URL="http://rubyforge.org/frs/download.php/71617/sqlite3-ruby-1.3.1.tgz"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20 @@ -17,13 +19,13 @@
    1.21  	cd $src
    1.22  	ruby setup.rb config
    1.23  	ruby setup.rb setup
    1.24 -	ruby setup.rb install --prefix=$PWD/_pkg
    1.25 +	ruby setup.rb install --prefix=$DESTDIR
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr
    1.32 -	cp -a $_pkg/usr/lib $fs/usr
    1.33 +	cp -a $install/usr/lib $fs/usr
    1.34  }
    1.35