]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - pkgs/smartmontools/smartmontools.nm
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / smartmontools / smartmontools.nm
index e965a0e7a3c72e4c84e039be003df4abf00d6a48..c35d048e18e866bc628eb07cb81b806f2d6a2fe6 100644 (file)
@@ -1,57 +1,45 @@
 ###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt                 #
-#                                                                             #
-# This program is free software: you can redistribute it and/or modify        #
-# it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
-
-PKG_NAME       = smartmontools
-PKG_VER        = 5.40
-PKG_REL        = 0
+name       = smartmontools
+version    = 5.40
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Statistics
-PKG_URL        = http://flex.sourceforge.net/
-PKG_LICENSE    = GPLv2
-PKG_SUMMARY    = A set of tools that watches HDD S.M.A.R.T status.
+groups     = System/Statistics
+url        = http://smartmontools.sourceforge.net/
+license    = GPLv2
+summary    = A set of tools that watches HDD S.M.A.R.T status.
 
-PKG_BUILD_DEPS+= gcc-c++ libselinux-devel
-
-define PKG_DESCRIPTION
+description
        The smartmontools package contains two utility programs (smartctl \
        and smartd) to control and monitor storage systems using the \
        Self-Monitoring, Analysis and Reporting Technology System (SMART) \
        built into most modern ATA and SCSI harddisks. In many cases, \
        these utilities will provide advanced warning of disk degradation \
        and failure.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-CONFIGURE_OPTIONS += \
-       --mandir=/usr/share/man \
-       --sysconfdir=/etc \
-       --with-selinux
-
-define STAGE_INSTALL_CMDS
-       rm -rvf $(BUILDROOT)/etc/rc.d
-endef
+end
+
+source_dl  = http://downloads.sourceforge.net/project/%{name}/%{name}/%{thisapp}
+
+build
+       requires
+               gcc-c++
+               libselinux-devel
+       end
+
+       configure_options += \
+               --mandir=/usr/share/man \
+               --sysconfdir=/etc \
+               --with-selinux
+
+       install_cmds
+               rm -rvf %{BUILDROOT}/etc/rc.d
+       end
+end
+
+packages
+       package %{name}
+       end
+end