wok-6.x diff ruby-native-package-installer/receipt @ rev 23785
updated xz and xz-dev (5.2.4 -> 5.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 22 06:25:33 2020 +0100 (2020-05-22) |
parents | |
children | 5ea0ce1cecc0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ruby-native-package-installer/receipt Fri May 22 06:25:33 2020 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ruby-native-package-installer" 1.7 +VERSION="1.0.9" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Helper to install native packages on 'gem install'." 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="LGPL3" 1.12 +WEB_SITE="https://rubygems.org/gems/native-package-installer" 1.13 + 1.14 +SOURCE="native-package-installer" 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WGET_URL="https://github.com/ruby-gnome/$SOURCE/archive/$VERSION.tar.gz" 1.17 + 1.18 +DEPENDS="ruby" 1.19 +BUILD_DEPENDS="ruby-dev rubygems" 1.20 + 1.21 +COOK_OPT="!repack_src !unpack" 1.22 + 1.23 +# Rules to configure and make the package. 1.24 +compile_rules() 1.25 +{ 1.26 + local _gemdir="$(ruby -r rubygems -e'puts Gem.default_dir')" 1.27 + gem install \ 1.28 + --ignore-dependencies \ 1.29 + -i "$DESTDIR/$_gemdir" \ 1.30 + native-package-installer 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + cp -a $install/usr $fs 1.37 +}