wok-current view smartmontools/receipt @ rev 5894
inkscape: Fix build with gcc45 (http://bugs.gentoo.org/show_bug.cgi?id=305749)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jul 22 23:54:43 2010 +0200 (2010-07-22) |
parents | a075ff895254 |
children | 1ef5ff7449cf |
line source
1 # SliTaz package receipt.
3 PACKAGE="smartmontools"
4 VERSION="5.38"
5 CATEGORY="system-tools"
6 SHORT_DESC="Monitors disk and tape health via S.M.A.R.T."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gcc-lib-base"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://smartmontools.sourceforge.net/"
11 WGET_URL="http://garr.dl.sourceforge.net/sourceforge/smartmontools/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr \
18 --sysconfdir=/etc $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr $fs/etc/init.d
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp $_pkg/etc/smartd.conf $fs/etc/smartd.conf
29 install -g root -o root -m 755 stuff/etc/init.d/smartd $fs/etc/init.d
31 }