[csw-devel] SF.net SVN: gar:[14618] csw/mgar/pkg/libsmi/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Thu May 19 15:20:57 CEST 2011
Revision: 14618
http://gar.svn.sourceforge.net/gar/?rev=14618&view=rev
Author: dmichelsen
Date: 2011-05-19 13:20:57 +0000 (Thu, 19 May 2011)
Log Message:
-----------
libsmi: Split packages
Modified Paths:
--------------
csw/mgar/pkg/libsmi/trunk/Makefile
Modified: csw/mgar/pkg/libsmi/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libsmi/trunk/Makefile 2011-05-19 11:28:14 UTC (rev 14617)
+++ csw/mgar/pkg/libsmi/trunk/Makefile 2011-05-19 13:20:57 UTC (rev 14618)
@@ -12,37 +12,48 @@
endef
MASTER_SITES = ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/
-DISTFILES = $(NAME)-$(VERSION).tar.gz
+DISTFILES = $(DISTNAME).tar.gz
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+VENDOR_URL = http://www.ibr.cs.tu-bs.de/projects/libsmi/
-PACKAGES = CSWlibsmi CSWlibsmimibs
+PACKAGES += CSWlibsmi2
+SPKG_DESC_CSWlibsmi2 = Library to access SMI MIB module definitions, libsmi.so.2
+PKGFILES_CSWlibsmi2 = $(call pkgfiles_lib,libsmi.so.2)
+RUNTIME_DEP_PKGS_CSWlibsmi = CSWlibsmi-mibs
+OBSOLETED_BY_CSWlibsmi2 = CSWlibsmi
-CATALOGNAME_CSWlibsmi = libsmi
-CATALOGNAME_CSWlibsmimibs = libsmi_mibs
+PACKAGES += CSWlibsmi-dev
+SPKG_DESC_CSWlibsmi-dev = Development files for libsmi.so.2
+PKGFILES_CSWlibsmi-dev = $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWlibsmi-dev = CSWlibsmi2
-SPKG_DESC_CSWlibsmi = Library to access SMI MIB module definitions
-SPKG_DESC_CSWlibsmimibs = SMI MIB definitions
+PACKAGES += CSWlibsmi-utils
+SPKG_DESC_CSWlibsmi-utils = Utility programs to access MIBs
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWlibsmi-utils += CSWlibsmi2
+RUNTIME_DEP_PKGS_CSWlibsmi-utils += CSWlibsmi-mibs
+CHECKPKG_OVERRIDES_CSWlibsmi-utils += surplus-dependency|CSWlibsmi-mibs
-SPKG_SOURCEURL = http://www.ibr.cs.tu-bs.de/projects/libsmi/
+PACKAGES += CSWlibsmi-mibs
+SPKG_DESC_CSWlibsmi-mibs = SMI MIB definitions
+PKGFILES_CSWlibsmi-mibs = $(sharedstatedir)/mibs/.*
+PKGFILES_CSWlibsmi-mibs += $(sharedstatedir)/pibs/.*
+ARCHALL_CSWlibsmi-mibs = 1
+OBSOLETED_BY_CSWlibsmi-mibs = CSWlibsmimibs
-RUNTIME_DEP_PKGS_CSWlibsmi = CSWlibsmimibs
-
BUILD64 = 1
-NOISAEXEC = 1
-CONFIGURE_ARGS = $(DIRPATHS)
EXTRA_CPPFLAGS_isa-sparcv8 = -Dfabsf=fabs
EXTRA_CPPFLAGS_isa-sparcv9 = -Dfabsf=fabs
EXTRA_CPPFLAGS_isa-i386 = -Dfabsf=fabs
EXTRA_CPPFLAGS = $(EXTRA_CPPFLAGS_isa-$(ISA))
-MERGE_DIRS_isa-extra = $(libdir)
+# Some tests fail, however, these are only whitespace and newline differences
+SKIPTEST ?= 1
-ARCHALL_CSWlibsmimibs = 1
+# These are just examples
+CHECKPKG_OVERRIDES_CSWlibsmi-utils += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/smicache.1
+CHECKPKG_OVERRIDES_CSWlibsmi-utils += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/smixlate.1
+CHECKPKG_OVERRIDES_CSWlibsmi-utils += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/smistrip.1
-PKGFILES_CSWlibsmimibs = $(sharedstatedir)/mibs/.*
-PKGFILES_CSWlibsmimibs += $(sharedstatedir)/pibs/.*
-
include gar/category.mk
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