wok-current view facter/receipt @ rev 13465
Up iw (3.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 08 10:50:30 2012 +0200 (2012-10-08) |
parents | |
children | 7bb096863642 |
line source
1 # SliTaz package receipt.
3 PACKAGE="facter"
4 VERSION="1.6.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="A library for collecting facts about your system."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.puppetlabs.com/"
10 WGET_URL="http://downloads.puppetlabs.com/facter/$TARBALL"
12 DEPENDS="ruby"
13 BUILD_DEPENDS="ruby-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ruby ./install.rb \
20 --destdir=$DESTDIR \
21 --bindir=/usr/bin \
22 --sbindir=/usr/sbin
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }