[csw-devel] SF.net SVN: gar:[6898] csw/mgar/pkg/snort/trunk/Makefile

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Mon Oct 19 00:20:06 CEST 2009


Revision: 6898
          http://gar.svn.sourceforge.net/gar/?rev=6898&view=rev
Author:   bonivart
Date:     2009-10-18 22:20:05 +0000 (Sun, 18 Oct 2009)

Log Message:
-----------
snort: now it builds with gcc4

Modified Paths:
--------------
    csw/mgar/pkg/snort/trunk/Makefile

Modified: csw/mgar/pkg/snort/trunk/Makefile
===================================================================
--- csw/mgar/pkg/snort/trunk/Makefile	2009-10-18 19:53:49 UTC (rev 6897)
+++ csw/mgar/pkg/snort/trunk/Makefile	2009-10-18 22:20:05 UTC (rev 6898)
@@ -14,40 +14,37 @@
 
 MASTER_SITES = http://dl.snort.org/snort-current/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
-#DISTFILES += $(call admfiles,CSWsnort, depend )
 
-#LICENSE = COPYRIGHT
-
 #PACKAGES = 
 #CATALOGNAME_CSWx =
-
+#SPKG_DESC_CSWx =
 #ARCHALL_CSWx = 1
 
-#SPKG_DESC_CSWx =
-
-REQUIRED_PKGS  = CSWpcre CSWlibpcap
+REQUIRED_PKGS  = CSWpcrert CSWlibpcap CSWgcc4corert
 #REQUIRED_PKGS += CSWcswclassutils CSWosslrt CSWmysql4rt CSWzlib
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
+GARCOMPILER = GNU
+
 CONFIGURE_ARGS = $(DIRPATHS) --libdir=/opt/csw/lib
 CONFIGURE_ARGS += --enable-dynamicplugin
 
-#TEST_SCRIPTS =
+TEST_TARGET = check
 
 include gar/category.mk
 
-#pre-install:
-#	( mkdir -p $(DESTDIR)/opt/csw/etc )
-#	( cp $(WORKSRC)/etc/snort.conf $(DESTDIR)/opt/csw/etc/snort.conf.CSW )
-#	( cp $(WORKSRC)/etc/unicode.map $(DESTDIR)/opt/csw/etc/unicode.map )
-#	( cp $(WORKSRC)/etc/sid-msg.map $(DESTDIR)/opt/csw/etc/sid-msg.map )
-#	( cp $(WORKSRC)/etc/gen-msg.map $(DESTDIR)/opt/csw/etc/gen-msg.map )
-#	( cp $(WORKSRC)/etc/classification.config $(DESTDIR)/opt/csw/etc/classification.config )
-#	( cp $(WORKSRC)/etc/reference.config $(DESTDIR)/opt/csw/etc/reference.config )
-#	( cp $(WORKSRC)/etc/generators $(DESTDIR)/opt/csw/etc/generators )
-#	@$(MAKECOOKIE)
+post-install-modulated:
+	@mkdir -p $(DESTDIR)/opt/csw/etc
+	@cp $(WORKSRC)/etc/snort.conf $(DESTDIR)/opt/csw/etc/snort.conf.CSW
+	@cp $(WORKSRC)/etc/unicode.map $(DESTDIR)/opt/csw/etc/unicode.map
+	@cp $(WORKSRC)/etc/sid-msg.map $(DESTDIR)/opt/csw/etc/sid-msg.map
+	@cp $(WORKSRC)/etc/gen-msg.map $(DESTDIR)/opt/csw/etc/gen-msg.map
+	@cp $(WORKSRC)/etc/classification.config $(DESTDIR)/opt/csw/etc/classification.config
+	@cp $(WORKSRC)/etc/reference.config $(DESTDIR)/opt/csw/etc/reference.config
+#	@cp $(WORKSRC)/etc/generators $(DESTDIR)/opt/csw/etc/generators
+	@$(MAKECOOKIE)
 
 #post-install:
 #	( rm -rf $(DESTDIR)/opt/csw/src )


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



More information about the devel mailing list