2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= liba52
20 COMPONENT_VERSION
= 0.8.0
21 COMPONENT_SUMMARY
= liba52
- a free library for decoding ATSC A
/52 streams
22 COMPONENT_SRC
= a52dec-v
$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
24 COMPONENT_ARCHIVE_HASH
= sha256
:d4f26685d32a8c85f86a5cb800554160fb85400298a0a27151c3d1e63a170943
25 COMPONENT_PROJECT_URL
= https
://liba52.sourceforge.net
26 COMPONENT_ARCHIVE_URL
= https
://git.adelielinux.org
/community
/a52dec
/-/archive
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_CLASSIFICATION
=System
/Media
28 COMPONENT_FMRI
= library
/audio
/liba52
29 COMPONENT_LICENSE
= GPLv2
30 COMPONENT_LICENSE_FILE
= COPYING
32 include $(WS_MAKE_RULES
)/encumbered.mk
33 include $(WS_MAKE_RULES
)/common.mk
35 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
36 aclocal
-I autotools
&& \
37 libtoolize
--force --copy
&& \
39 automake
--add-missing
--copy
&& \
42 CONFIGURE_OPTIONS
+= --with-pic
43 CONFIGURE_OPTIONS
+= --enable-shared
44 CONFIGURE_OPTIONS
+= --disable-static
46 COMPONENT_TEST_ENV
+= PATH
=$(PATH.gnu
)
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES
+= system
/library
50 REQUIRED_PACKAGES
+= system
/library
/math