Marcel Telka
2024-04-02 f1b1912adc00984cd165470b728dda03ac81b2c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright 2015 Alexander Pyhalov
#
 
BUILD_STYLE= justmake
BUILD_BITS= 64
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME=         toolame
COMPONENT_VERSION=        0.2.12
HUMAN_VERSION=            02l
COMPONENT_REVISION=     2
COMPONENT_SUMMARY=      optimized MPEG Audio Layer 2 encoder
COMPONENT_SRC=          $(COMPONENT_NAME)-$(HUMAN_VERSION)
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tgz
COMPONENT_ARCHIVE_HASH= sha256:3b95cd2504bceac4aab2fca03bb3b5974d1d44b5afdd8eb4cc0f0899521bffc4
COMPONENT_ARCHIVE_URL=    https://tenet.dl.sourceforge.net/project/toolame/toolame%200.2/toolame%2002l/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL=  https://toolame.sourceforge.net/
COMPONENT_FMRI=         audio/toolame
COMPONENT_CLASSIFICATION=System/Media
COMPONENT_LICENSE=      LGPLv2.1
COMPONENT_LICENSE_FILE= LGPL.txt
 
# GCC 10 build failure
CFLAGS += -fcommon
 
COMPONENT_ENV += CC="$(CC)"
COMPONENT_ENV += CFLAGS="$(CFLAGS) "
 
COMPONENT_BUILD_ENV += $(COMPONENT_ENV)
COMPONENT_INSTALL_ENV += $(COMPONENT_ENV)
 
include $(WS_MAKE_RULES)/encumbered.mk
 
TEST_TARGET= $(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk
 
# Auto-generated dependencies
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math