wok view facter/receipt @ rev 19922
Up ipxe (1.0.0-20170417)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 20 09:45:12 2017 +0200 (2017-04-20) |
parents | ddd14a38cca0 |
children | 4b27a977323d |
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 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.puppetlabs.com/"
11 WGET_URL="http://downloads.puppetlabs.com/facter/$TARBALL"
13 DEPENDS="ruby"
14 BUILD_DEPENDS="ruby-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ruby ./install.rb \
21 --destdir=$DESTDIR \
22 --bindir=/usr/bin \
23 --sbindir=/usr/sbin
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 }