wok view facter/receipt @ rev 22982

kdelibs: modified WGET_URL
author Hans-G?nter Theisgen
date Sat Feb 29 17:42:51 2020 +0100 (2020-02-29)
parents 7bb096863642
children bfabe25c21ff
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 sed -i "s|require 'tempfile'|&\\nrequire 'test/unit'|" install.rb
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 }