wok-next view facter/receipt @ rev 18887

Up firefox-official(44.0.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Feb 12 15:47:40 2016 +0200 (2016-02-12)
parents ddd14a38cca0
children
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 }