[csw-devel] SF.net SVN: gar:[5806] csw/mgar/pkg

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Aug 2 10:17:07 CEST 2009


Revision: 5806
          http://gar.svn.sourceforge.net/gar/?rev=5806&view=rev
Author:   wahwah
Date:     2009-08-02 08:17:07 +0000 (Sun, 02 Aug 2009)

Log Message:
-----------
libsndfile: Initial commit

Modified Paths:
--------------
    csw/mgar/pkg/libsndfile/trunk/Makefile
    csw/mgar/pkg/libsndfile/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/libsndfile/

Modified: csw/mgar/pkg/libsndfile/trunk/Makefile
===================================================================
--- csw/mgar/pkg/template/trunk/Makefile	2009-08-01 08:56:44 UTC (rev 5795)
+++ csw/mgar/pkg/libsndfile/trunk/Makefile	2009-08-02 08:17:07 UTC (rev 5806)
@@ -2,159 +2,49 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-## This file contains comments to guide you through various GAR settings.
-## Please remove unnecessary comments before committing your code to the code
-## repository. The comments to remove are marked with double hashes.
-##
-## For more information, please see:
-## https://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference
+GARNAME = libsndfile
+GARVERSION = 1.0.20
 
-GARNAME = mypkg
-GARVERSION = 1.0
-
-## The category that your software fits in. This is not a descriptive field, but
-## influences the build process. Depending on the CATEGORIES setting, different
-## Makefiles are included from gar/categories/ in your trunk directory, which
-## adjust the build settings for the respective category.
-##
-## Possible settings are:
-## apps, cpan, devel, gnome, java, kde, lang, lib, meta, net, server, utils, x11,
-## xfce, xorg, xtra
 CATEGORIES = lib
 
-## A one-line description of the package, which will appear in the pkginfo.
-DESCRIPTION = <please fill in>
+DESCRIPTION = a C library for reading and writing files containing sampled sound
 
-## A longer description of the package. This is only for descriptive purposes
-## inside the Makefile and is not used elsewhere. 
 define BLURB
-  <please fill in>
-endef
+  Libsndfile is a C library for reading and writing files containing sampled
+  sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one
+  standard library interface. It is released in source code format under the Gnu
+  Lesser General Public License.
 
-## Whitespace-separated list of URLs to download the source package from.
-## There are presets: $(SF_MIRRORS), $(GNU_MIRRORS) and $(GOOGLE_MIRROR).
-MASTER_SITES = 
+  The library was written to compile and run on a Linux system but should
+  compile and run on just about any Unix (including MacOSX). It can also be
+  compiled and run on Win32 systems using the Microsoft compiler and MacOS (OS9
+  and earlier) using the Metrowerks compiler. There are directions for compiling
+  libsndfile on these platforms in the Win32 and MacOS directories of the source
+  code distribution.
 
-## SF_PROJ is required if you set $(MASTER_SITES) to $(SF_MIRRORS) and the
-## Sourceforge project name differs from $(GARNAME). Specifies the Sourceforge
-## project name of the software you wish to download. 
-# SF_PROJ =
+  It was designed to handle both little-endian (such as WAV) and big-endian
+  (such as AIFF) data, and to compile and run correctly on little-endian (such
+  as Intel and DEC/Compaq Alpha) processor systems as well as big-endian
+  processor systems such as Motorola 68k, Power PC, MIPS and Sparc. Hopefully
+  the design of the library will also make it easy to extend for reading and
+  writing new sound file formats. 
+endef
 
-# A list of space separated patch filenames from files/ that are to be applied
-# to the extracted software before the ./configure stage. Patches need to be
-# included in the DISTFILES variable as well.
-# PATCHFILES =
+MASTER_SITES = http://www.mega-nerd.com/libsndfile/
 
-## Whitespace-separated list of files which comprise this build. mGAR will look
-## for the files in the $(FILEDIR) (trunk/files) directory and on the
-## $(MASTER_SITES).
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 
-## Set to 1 to mark the package as architecture-independent.
-# ARCHALL = 0
+REQUIRED_PKGS = CSWvorbis CSWflac CSWlibogg
+PREREQUISITE_PKGS = $(REQUIRED_PKGS)
 
-## A list of files / patterns that should be excluded from the package. Amends
-## the default list of excluded filenames $(MERGE_EXCLUDE_DEFAULT), which
-## contains things like libtool .la files and files with a leading ~. 
-# EXTRA_MERGE_EXCLUDE_FILES =
+SPKG_SOURCEURL = http://www.mega-nerd.com/libsndfile/
 
-## A list of space separated package names that should be marked as
-## incompatible with the current package. This will go into the depend file.
-## When a user has one of the incompatible packages installed and installs
-## your package, he will be prompted that the incompatible package must be
-## removed. He will however not be prevented to install your package without
-## removing the conflicting package first. 
-# INCOMPATIBLE_PKGS =
-
-# The name of the license file that should be included in your package. Defaults
-# to COPYING. See http://sourceforge.net/apps/trac/gar/wiki/CopyRightfor details
-# on including and displaying licenses. 
-# LICENSE =
-
-## A list of space separated package names that should be produced from your
-## Makefile. This is used when a software has different components that can be
-## packaged and used individually (think runtime libraries, client tools, server
-## files, development headers). You don't need to set this when you just want to
-## produce one package. 
-##
-## When you set this variable to include more than one package, you also need to
-## set PKGFILES_CSWpkgname for each package (except for the first one in your
-## $(PACKAGES) list) to define which files go into each package. The first
-## package from $(PACKAGES) one will hold all files that are not matched by
-## PKGFILES_ for other packages.
-# PACKAGES =
-
-## If specified, GAR feeds the almost-final package prototype file to
-## $(PROTOTYPE_FILTER) and reads the final package prototype file from it.
-## $(PROTOTYPE_FILTER) is usually a sed/awk/perl one-liner, which was mostly used
-## to prepare the prototype file for use with cswclassutils (see
-## $(SPKG_CLASSES)). Now that there are convenience variables for cswclassutils,
-## you will rarely have to use this. A still valid use case would be to change
-## the file permissions of a file to be set-UID. 
-## See http://wiki.opencsw.org/cswclassutils-package for common usage information
-# PROTOTYPE_FILTER =
-
-## A list of runtime package dependencies in the form of CSWfoo.
-# REQUIRED_PKGS =
-
-## When using non-empty $(PACKAGES):
-# REQUIRED_PKGS_CSWpkgname =
-# SPKG_DESC_CSWpkgname =
-# PKGFILES_CSWpkgname =
-
-## Upstream URL that should show up in the VENDOR field as well as on
-## http://opencsw.org/packages/<packagename>.
-# SPKG_SOURCEURL =
-
-## A list of space separated directories where objects should be stripped in
-## addition to the bin/ and sbin/ directories.
-# STRIP_DIRS =
-
-## We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-## Define a custom target for the configure phase. When you set this, the target
-## that will be used instead of configure: target, is named
-## configure-$(CONFIGURE_SCRIPTS) and you will need to define it in your Makefile
-## after including gar/gar.include.mk. If you want to skip the configure phase
-## completely (for example when your software doesn't need to be compiled) assign
-## this variable an empty value. The procedure works for configure, build,
-## install and test steps.
-# CONFIGURE_SCRIPTS =
-# BUILD_SCRIPTS =
-# INSTALL_SCRIPTS =
-# TEST_SCRIPTS =
-
-## Compilation settings
-
-## The build directory.
-# WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)
-
-## BUILD_ARGS is passed as an argument to gmake during the build phase. Use this
-## for example, if you need to override Makefile variables. 
-# BUILD_ARGS =
-
-## Arguments passed to the ./configure script.
+TEST_SCRIPTS =
 CONFIGURE_ARGS = $(DIRPATHS)
 
-# BUILD64 =
-# CONFIGURE_ENV =
-# EXTRA_CFLAGS =
-# EXTRA_LDFLAGS =
-# EXTRA_INC =
-# EXTRA_LIB =
-# GARFLAVOR =
-# INSTALL_ARGS =
-# OPT_FLAGS_SOS = -xO3
-# OPT_FLAGS_GCC = -O2 -pipe
+EXTRA_CFLAGS = -features=extensions
+EXTRA_CXXFLAGS = -features=extensions
 
-## The compiler to use. Defaults to SOS11, can be also: SOS12, GCC3, GCC4.
-# GARCOMPILER = SOS11
-
-# Remove the following rules and uncomment the
-# include before building.
-all: .DEFAULT
-.DEFAULT:
-	@true
-
-#include gar/category.mk
+include gar/category.mk

Modified: csw/mgar/pkg/libsndfile/trunk/checksums
===================================================================
--- csw/mgar/pkg/template/trunk/checksums	2009-08-01 08:56:44 UTC (rev 5795)
+++ csw/mgar/pkg/libsndfile/trunk/checksums	2009-08-02 08:17:07 UTC (rev 5806)
@@ -0,0 +1 @@
+e0553e12c7a467af44693e95e2eac668  download/libsndfile-1.0.20.tar.gz


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