wok-6.x annotate facter/receipt @ rev 17097
tramys-client: copy translations to package.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 28 12:36:33 2014 +0300 (2014-08-28) |
parents | ddd14a38cca0 |
children | 4b27a977323d |
rev | line source |
---|---|
pankso@13365 | 1 # SliTaz package receipt. |
pankso@13365 | 2 |
pankso@13365 | 3 PACKAGE="facter" |
pankso@13365 | 4 VERSION="1.6.11" |
pankso@13365 | 5 CATEGORY="system-tools" |
pankso@13365 | 6 SHORT_DESC="A library for collecting facts about your system." |
pankso@13365 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15215 | 8 LICENSE="Apache" |
pankso@13365 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@13365 | 10 WEB_SITE="http://www.puppetlabs.com/" |
pankso@13365 | 11 WGET_URL="http://downloads.puppetlabs.com/facter/$TARBALL" |
pankso@13365 | 12 |
pankso@13365 | 13 DEPENDS="ruby" |
pankso@13365 | 14 BUILD_DEPENDS="ruby-dev" |
pankso@13365 | 15 |
pankso@13365 | 16 # Rules to configure and make the package. |
pankso@13365 | 17 compile_rules() |
pankso@13365 | 18 { |
pankso@13365 | 19 cd $src |
pankso@13365 | 20 ruby ./install.rb \ |
pankso@13365 | 21 --destdir=$DESTDIR \ |
pankso@13365 | 22 --bindir=/usr/bin \ |
pankso@13365 | 23 --sbindir=/usr/sbin |
pankso@13365 | 24 } |
pankso@13365 | 25 |
pankso@13365 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13365 | 27 genpkg_rules() |
pankso@13365 | 28 { |
pankso@13365 | 29 mkdir -p $fs/usr |
pankso@13365 | 30 cp -a $install/usr/bin $fs/usr |
pankso@13365 | 31 cp -a $install/usr/lib $fs/usr |
pankso@13365 | 32 } |