wok-current annotate larch/receipt @ rev 22184
updated xorg-bdftopcf (1.0.3 -> 1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 08:55:19 2019 +0100 (2019-11-11) |
parents | b6771e9696d7 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@15193 | 1 # SliTaz package receipt. |
pascal@15193 | 2 |
pascal@15193 | 3 PACKAGE="larch" |
pascal@15193 | 4 VERSION="1.1.2" |
pascal@15193 | 5 CATEGORY="network" |
pascal@15193 | 6 SHORT_DESC="Copies messages from one IMAP server to another." |
pascal@15193 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15193 | 8 LICENSE="GPL2" |
pascal@15193 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15193 | 10 WEB_SITE="https://github.com/rgrove/larch/" |
pascal@15193 | 11 WGET_URL="${WEB_SITE}archive/release-$VERSION.tar.gz" |
pascal@15193 | 12 |
pascal@15193 | 13 DEPENDS="ruby" |
pascal@15193 | 14 BUILD_DEPENDS="ruby-dev wget" |
pascal@15193 | 15 |
pascal@15193 | 16 # Rules to configure and make the package. |
pascal@15193 | 17 compile_rules() |
pascal@15193 | 18 { |
pascal@22170 | 19 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" |
pascal@15193 | 20 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" larch |
pascal@15193 | 21 } |
pascal@15193 | 22 |
pascal@15193 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15193 | 24 genpkg_rules() |
pascal@15193 | 25 { |
pascal@15193 | 26 mkdir -p $fs/usr/bin |
pascal@15193 | 27 cp -a $install/usr $fs |
pascal@15193 | 28 cd $fs/usr |
pascal@15193 | 29 ln -s ../$(ls lib/ruby/gems/*/bin/larch) bin |
pascal@15193 | 30 } |