wok-6.x annotate spruz/receipt @ rev 11433
freetype1-dev: move *a files to the correct path
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Dec 16 15:42:01 2011 +0100 (2011-12-16) |
parents | |
children | 3b4e4318134e |
rev | line source |
---|---|
slaxemulator@10140 | 1 # SliTaz package receipt. |
slaxemulator@10140 | 2 |
slaxemulator@10140 | 3 PACKAGE="spruz" |
slaxemulator@10140 | 4 VERSION="0.2.6" |
slaxemulator@10140 | 5 CATEGORY="development" |
slaxemulator@10140 | 6 SHORT_DESC="All the stuff that isn't good/big enough for a real library." |
slaxemulator@10140 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@10140 | 8 DEPENDS="ruby" |
slaxemulator@10140 | 9 BUILD_DEPENDS="ruby-dev" |
slaxemulator@10140 | 10 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10140 | 11 WEB_SITE="http://rubygems.org/gems/spruz" |
slaxemulator@10140 | 12 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10140 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@10140 | 14 |
slaxemulator@10140 | 15 # Rules to configure and make the package. |
slaxemulator@10140 | 16 compile_rules() |
slaxemulator@10140 | 17 { |
slaxemulator@10140 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10140 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10140 | 20 } |
slaxemulator@10140 | 21 |
slaxemulator@10140 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10140 | 23 genpkg_rules() |
slaxemulator@10140 | 24 { |
slaxemulator@10140 | 25 cp -a $_pkg/usr $fs |
slaxemulator@10140 | 26 } |
slaxemulator@10140 | 27 |