1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/libfishsound/trunk/Makefile

Revision 20218, 2.1 KB (checked in by dmichelsen, 15 months ago)

libfishsound/trunk: Split off devel package, update to latest standards

Line 
1NAME = libfishsound
2VERSION = 1.0.0
3GARTYPE = v2
4
5DESCRIPTION = Decoding and encoding audio data using the Xiph.org codecs
6define BLURB
7  libfishsound provides a simple programming interface for decoding and encoding
8  audio data using the Xiph.org codecs (FLAC, Speex and Vorbis).
9endef
10
11MASTER_SITES =  http://downloads.xiph.org/releases/libfishsound/
12DISTFILES  = $(NAME)-$(VERSION).tar.gz
13
14VENDOR_URL = http://www.xiph.org/fishsound/
15
16BUILD_DEP_PKGS += CSWlibogg-dev
17BUILD_DEP_PKGS += CSWlibvorbis-dev
18BUILD_DEP_PKGS += CSWlibflac-dev
19BUILD_DEP_PKGS += CSWlibspeex-dev
20
21PACKAGES += CSWlibfishsound0
22SPKG_DESC_CSWlibfishsound0 = Decoding and encoding audio data using the Xiph.org codecs, libfishsound.so.0
23PKGFILES_CSWlibfishsound0 += $(call pkgfiles_lib,libfishsound.so.0)
24RUNTIME_DEP_PKGS_CSWlibfishsound0 += CSWlibspeex1
25RUNTIME_DEP_PKGS_CSWlibfishsound0 += CSWlibvorbis0
26RUNTIME_DEP_PKGS_CSWlibfishsound0 += CSWlibvorbisenc2
27RUNTIME_DEP_PKGS_CSWlibfishsound0 += CSWlibflac8
28OBSOLETED_BY_CSWlibfishsound0 += CSWlibfishsound
29
30PACKAGES += CSWlibfishsound-dev
31SPKG_DESC_CSWlibfishsound-dev = Development files for libfishsound.so.0
32# PKGFILES is catchall
33RUNTIME_DEP_PKGS_CSWlibfishsound-dev += CSWlibfishsound0
34
35# These are just docs
36CHECKPKG_OVERRIDES_CSWlibfishsound-dev += file-with-bad-content|/usr/local|root/opt/csw/share/doc/libfishsound/html/group__install.html
37CHECKPKG_OVERRIDES_CSWlibfishsound-dev += file-with-bad-content|/usr/local|root/opt/csw/share/doc/libfishsound/latex/group__install.tex
38# This is an example
39CHECKPKG_OVERRIDES_CSWlibfishsound-dev += file-with-bad-content|/usr/local|root/opt/csw/include/fishsound/fishsound.h
40
41OPT_FLAGS_SOS =
42
43BUILD64 = 1
44
45BUILD_ARGS = AM_CFLAGS= SHLIB_VERSION_ARG= libfishsound_la_LDFLAGS=
46
47# We have one failing test, so disable tests for now:
48# encdec-comments.c:68: Recently inserted ARTIST1 not retrieved
49# FAIL: encdec-comments
50SKIPTEST ?= 1
51
52include gar/category.mk
53
54# UINTPTR_MAX is defined empty in Solaris, which breaks a constraint check
55post-configure:
56        perl -pi -e 's,(.*HAVE_UINTPTR_T.*),/* \1 */,' $(WORKSRC)/config.h
57        @$(MAKECOOKIE)
Note: See TracBrowser for help on using the browser.