wok-current annotate facter/receipt @ rev 13545
Add lvm2-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 01 10:57:56 2012 +0100 (2012-11-01) |
parents | |
children | 7bb096863642 |
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" |
pankso@13365 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@13365 | 9 WEB_SITE="http://www.puppetlabs.com/" |
pankso@13365 | 10 WGET_URL="http://downloads.puppetlabs.com/facter/$TARBALL" |
pankso@13365 | 11 |
pankso@13365 | 12 DEPENDS="ruby" |
pankso@13365 | 13 BUILD_DEPENDS="ruby-dev" |
pankso@13365 | 14 |
pankso@13365 | 15 # Rules to configure and make the package. |
pankso@13365 | 16 compile_rules() |
pankso@13365 | 17 { |
pankso@13365 | 18 cd $src |
pankso@13365 | 19 ruby ./install.rb \ |
pankso@13365 | 20 --destdir=$DESTDIR \ |
pankso@13365 | 21 --bindir=/usr/bin \ |
pankso@13365 | 22 --sbindir=/usr/sbin |
pankso@13365 | 23 } |
pankso@13365 | 24 |
pankso@13365 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13365 | 26 genpkg_rules() |
pankso@13365 | 27 { |
pankso@13365 | 28 mkdir -p $fs/usr |
pankso@13365 | 29 cp -a $install/usr/bin $fs/usr |
pankso@13365 | 30 cp -a $install/usr/lib $fs/usr |
pankso@13365 | 31 } |