wok annotate facter/receipt @ rev 23043

gcc83-lib-base: add /usr/libgcc83/libstdc++.la (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 05 12:21:44 2020 +0100 (2020-03-05)
parents 7bb096863642
children bfabe25c21ff
rev   line source
pankso@13365 1 # SliTaz package receipt.
pankso@13365 2
pankso@13365 3 PACKAGE="facter"
pankso@13365 4 VERSION="1.6.11"
pankso@13365 5 CATEGORY="system-tools"
pankso@13365 6 SHORT_DESC="A library for collecting facts about your system."
pankso@13365 7 MAINTAINER="pankso@slitaz.org"
pascal@15215 8 LICENSE="Apache"
pankso@13365 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@13365 10 WEB_SITE="http://www.puppetlabs.com/"
pankso@13365 11 WGET_URL="http://downloads.puppetlabs.com/facter/$TARBALL"
pankso@13365 12
pankso@13365 13 DEPENDS="ruby"
pankso@13365 14 BUILD_DEPENDS="ruby-dev"
pankso@13365 15
pankso@13365 16 # Rules to configure and make the package.
pankso@13365 17 compile_rules()
pankso@13365 18 {
pascal@21874 19 sed -i "s|require 'tempfile'|&\\nrequire 'test/unit'|" install.rb
pankso@13365 20 ruby ./install.rb \
pankso@13365 21 --destdir=$DESTDIR \
pankso@13365 22 --bindir=/usr/bin \
pankso@13365 23 --sbindir=/usr/sbin
pankso@13365 24 }
pankso@13365 25
pankso@13365 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13365 27 genpkg_rules()
pankso@13365 28 {
pankso@13365 29 mkdir -p $fs/usr
pankso@13365 30 cp -a $install/usr/bin $fs/usr
pankso@13365 31 cp -a $install/usr/lib $fs/usr
pankso@13365 32 }