wok-next view larch/receipt @ rev 18930
mmv, sqlite, unclutter: use EXTRA_SOURCE_FILES to track the sources files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 26 17:55:33 2016 +0100 (2016-02-26) |
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 }