wok-6.x view facter/receipt @ rev 17097

tramys-client: copy translations to package.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 28 12:36:33 2014 +0300 (2014-08-28)
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 }