wok-next annotate ruby-mimemagic/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents
children
rev   line source
al@20910 1 # SliTaz package receipt v2.
al@20910 2
al@20910 3 PACKAGE="ruby-mimemagic"
al@20910 4 VERSION="0.3.2"
al@20910 5 CATEGORY="ruby"
al@20910 6 SHORT_DESC="Fast MIME detection"
al@20910 7 MAINTAINER="al.bobylev@gmail.com"
al@20910 8 LICENSE="MIT"
al@20910 9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}"
al@20910 10 HOST_ARCH="any"
al@20910 11 REPOLOGY="${PACKAGE/-/:}"
al@20910 12
al@20910 13 TARBALL="${PACKAGE#*-}-$VERSION.gem"
al@20910 14 WGET_URL="http://rubygems.org/downloads/$TARBALL"
al@20910 15
al@20910 16 BUILD_DEPENDS="ruby-dev"
al@20910 17 COOKOPTS="!zip"
al@20910 18
al@20910 19 compile_rules() {
al@20910 20 gem install \
al@20910 21 --no-document \
al@20910 22 --ignore-dependencies \
al@20910 23 --no-user-install \
al@20910 24 --build-root $install \
al@20910 25 $src/$TARBALL &&
al@20910 26 fix gem
al@20910 27 }
al@20910 28
al@20910 29 genpkg_rules() {
al@20910 30 copy @ruby
al@20910 31 DEPENDS="ruby ruby-bacon ruby-rake"
al@20910 32 }