]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - pkgs/sg3-utils/sg3-utils.nm
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / sg3-utils / sg3-utils.nm
index 3a6e0698bb0a0924badc90f5d746cc910a6b9a51..3b97ee071a5970e6f83270fa1d3a1f0f23b4afb8 100644 (file)
@@ -1,47 +1,37 @@
 ###############################################################################
-#                                                                             #
-# 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       = sg3_utils
-PKG_VER        = 1.29
-PKG_REL        = 0
+name       = sg3_utils
+version    = 1.32
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUP      = Applications/System
-PKG_URL        = http://sg.danny.cz/sg/sg3_utils.html
-PKG_LICENSE    = GPLv2+ and BSD
-PKG_SUMMARY    = Utilities for devices that use SCSI command sets.
+groups     = Applications/System
+url        = http://sg.danny.cz/sg/sg3_utils.html
+license    = GPLv2+ and BSD
+summary    = Utilities for devices that use SCSI command sets.
 
-define PKG_DESCRIPTION
-       Collection of Linux utilities for devices that use the SCSI command set. \
-       Includes utilities to copy data based on dd syntax and semantics (called \
-       sg_dd, sgp_dd and sgm_dd); check INQUIRY data and VPD pages (sg_inq); check \
-       mode and log pages (sginfo, sg_modes and sg_logs); spin up and down \
+description
+       Collection of Linux utilities for devices that use the SCSI command set.
+       Includes utilities to copy data based on dd syntax and semantics (called
+       sg_dd, sgp_dd and sgm_dd); check INQUIRY data and VPD pages (sg_inq); check
+       mode and log pages (sginfo, sg_modes and sg_logs); spin up and down
        disks (sg_start); do self tests (sg_senddiag); and various other functions.
-endef
+end
 
-PKG_TARBALL    = $(THISAPP).tgz
+source_dl  = http://sg.danny.cz/sg/p/
+sources    = %{thisapp}.tgz
 
-PKG_PACKAGES  += $(PKG_NAME_REAL)-devel $(PKG_NAME_REAL)-libs
+packages
+       package %{name}
+       end
+       
+       package %{name}-libs
+               template LIBS
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+end