libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / multimedia / twolame / Makefile
blobd623bb010ca49fe69fe5c59a5c9cd6708644e53d
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
5 # 1.0 of the CDDL.
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 BUILD_BITS= 64_and_32
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= twolame
20 COMPONENT_VERSION= 0.4.0
21 COMPONENT_SUMMARY= Optimised MPEG Audio Layer 2 (MP2) encoder
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:cc35424f6019a88c6f52570b63e1baf50f62963a3eac52a03a800bb070d7c87d
26 COMPONENT_ARCHIVE_URL= \
27 http://tenet.dl.sourceforge.net/project/twolame/twolame/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = http://www.twolame.org/
29 COMPONENT_LICENSE = LGPL-2.1-only
30 COMPONENT_LICENSE_FILE = COPYING
31 COMPONENT_CLASSIFICATION = System/Multimedia Libraries
32 COMPONENT_FMRI = audio/twolame
34 USE_DEFAULT_TEST_TRANSFORMS = yes
36 include $(WS_TOP)/make-rules/common.mk
38 CONFIGURE_OPTIONS += --sysconfdir=/etc
39 CONFIGURE_OPTIONS += --enable-shared
40 CONFIGURE_OPTIONS += --disable-static
42 # Drop 32-bit binaries
43 COMPONENT_POST_INSTALL_ACTION += $(RM) -r $(PROTOUSRBINDIR32) ;
44 # Install html documentation
45 COMPONENT_POST_INSTALL_ACTION += $(INSTALL) -d $(PROTOUSRSHAREDOCDIR)/twolame/html ;
46 COMPONENT_POST_INSTALL_ACTION += $(INSTALL) $(SOURCE_DIR)/doc/html/* $(PROTOUSRSHAREDOCDIR)/twolame/html ;
47 COMPONENT_POST_INSTALL_ACTION += $(RM) $(PROTOUSRSHAREDOCDIR)/twolame/html/{Doxyfile,Makefile}.* ;
49 # We need to run tests in clean environment
50 COMPONENT_TEST_ENV_CMD = $(ENV) -
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES += library/libsndfile
54 REQUIRED_PACKAGES += system/library
55 REQUIRED_PACKAGES += system/library/math