wok-current view facter/receipt @ rev 13727

busybox: error free nfs-segfault.u
author Richard Dunbar <mojo@slitaz.org>
date Fri Dec 21 15:52:12 2012 +0000 (2012-12-21)
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 }