Revision: 2722
          http://ipcop.svn.sourceforge.net/ipcop/?rev=2722&view=rev
Author:   gespinasse
Date:     2009-04-18 15:37:10 +0000 (Sat, 18 Apr 2009)

Log Message:
-----------
Move wrong rootfile file under lfs.
Fix that

Modified Paths:
--------------
    ipcop/trunk/lfs/smartmontools

Modified: ipcop/trunk/lfs/smartmontools
===================================================================
--- ipcop/trunk/lfs/smartmontools       2009-04-18 15:36:04 UTC (rev 2721)
+++ ipcop/trunk/lfs/smartmontools       2009-04-18 15:37:10 UTC (rev 2722)
@@ -1,24 +1,95 @@
-#etc/rc.d/init.d
-#etc/rc.d/init.d/smartd
-#etc/smartd.conf
-usr/sbin/smartctl
-usr/sbin/smartd
-#usr/share/doc/smartmontools
-#usr/share/doc/smartmontools/AUTHORS
-#usr/share/doc/smartmontools/CHANGELOG
-#usr/share/doc/smartmontools/COPYING
-#usr/share/doc/smartmontools/INSTALL
-#usr/share/doc/smartmontools/NEWS
-#usr/share/doc/smartmontools/README
-#usr/share/doc/smartmontools/TODO
-#usr/share/doc/smartmontools/WARNINGS
-#usr/share/doc/smartmontools/examplescripts
-#usr/share/doc/smartmontools/examplescripts/Example1
-#usr/share/doc/smartmontools/examplescripts/Example2
-#usr/share/doc/smartmontools/examplescripts/Example3
-#usr/share/doc/smartmontools/examplescripts/Example4
-#usr/share/doc/smartmontools/examplescripts/README
-#usr/share/doc/smartmontools/smartd.conf
-#usr/share/man/man5/smartd.conf.5
-#usr/share/man/man8/smartctl.8
-#usr/share/man/man8/smartd.8
+###############################################################################
+# This file is part of the IPCop Firewall.                                    #
+#                                                                             #
+# IPCop 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 2 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# IPCop 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 IPCop; if not, write to the Free Software                        #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA    #
+#                                                                             #
+# Makefiles are based on LFSMake, which is                                    #
+# Copyright (C) 2002 Rod Roard <[email protected]>                        
#
+#                                                                             #
+# Modifications by:                                                           #
+# ??-12-2003 Mark Wormgoor < [email protected]>                               #
+#          - Modified Makefile for IPCop build                                #
+#                                                                             #
+# $Id: acpid 2604 2009-03-20 13:10:12Z owes $
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+PKG_NAME   = smartmontools
+VER        = 5.38
+HOST_ARCH  = all
+OTHER_SRC  = yes
+
+THISAPP    = $(PKG_NAME)-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_SFNET)/$(PKG_NAME)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE) \
+       $(PATCH1)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = a282846532ecbd6b4a28072373b3a70b
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && ./configure \
+                               --prefix=/usr \
+                               --sysconfdir=/etc \
+                               --with-docdir=/usr/share/doc/smartmontools
+       cd $(DIR_APP) && make -j $(PARALLELISM)
+       cd $(DIR_APP) && make install
+
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to