wok-next view larch/receipt @ rev 17365

Add fuse-rofs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 20 18:30:47 2014 +0100 (2014-11-20)
parents
children d43bf7aae921
line source
1 # SliTaz package receipt.
3 PACKAGE="larch"
4 VERSION="1.1.2"
5 CATEGORY="network"
6 SHORT_DESC="Copies messages from one IMAP server to another."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/rgrove/larch/"
11 WGET_URL="${WEB_SITE}archive/release-$VERSION.tar.gz"
13 DEPENDS="ruby"
14 BUILD_DEPENDS="ruby-dev wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" larch
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $install/usr $fs
28 cd $fs/usr
29 ln -s ../$(ls lib/ruby/gems/*/bin/larch) bin
30 }