wok-6.x diff larch/receipt @ rev 21521
updated nbd (3.3 -> 3.19)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 03 17:04:45 2019 +0100 (2019-05-03) |
parents | |
children | a0dccc5d133d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/larch/receipt Fri May 03 17:04:45 2019 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="larch" 1.7 +VERSION="1.1.2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Copies messages from one IMAP server to another." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/rgrove/larch/" 1.14 +WGET_URL="${WEB_SITE}archive/release-$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="ruby" 1.17 +BUILD_DEPENDS="ruby-dev wget" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" 1.23 + gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" larch 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/bin 1.30 + cp -a $install/usr $fs 1.31 + cd $fs/usr 1.32 + ln -s ../$(ls lib/ruby/gems/*/bin/larch) bin 1.33 +}