wok view larch/receipt @ rev 17065
pack from qt4-base: libQtWebkit + qtconfig, rename old: qtconfig-phonon + libQtWebkit-video(add_gst*deps)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Aug 22 05:24:00 2014 +0200 (2014-08-22) |
parents | |
children | a0dccc5d133d |
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 }