wok-next view larch/receipt @ rev 19657
Up: xorg-server, xorg-xf86-input-evdev, xorg-xf86-input-synaptics; add: xorg-xf86-input-wacom; remove: xorg-xf86-input-vmmouse.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 04 15:03:03 2017 +0200 (2017-03-04) |
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 }