| | |
| | | # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
| | | # |
| | | |
| | | BUILD_BITS=32_and_64 |
| | | include ../../../make-rules/shared-macros.mk |
| | | |
| | | COMPONENT_NAME= sox |
| | | COMPONENT_VERSION= 14.4.1 |
| | | COMPONENT_REVISION= 1 |
| | | COMPONENT_REVISION= 2 |
| | | COMPONENT_PROJECT_URL= http://sox.sourceforge.net/ |
| | | COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
| | | COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
| | |
| | | COMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/project/$(COMPONENT_NAME)/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
| | | COMPONENT_BUGDB= utility/sox |
| | | |
| | | include $(WS_TOP)/make-rules/prep.mk |
| | | include $(WS_TOP)/make-rules/configure.mk |
| | | include $(WS_TOP)/make-rules/ips.mk |
| | | include $(WS_MAKE_RULES)/common.mk |
| | | |
| | | CFLAGS.32 += -D_FILE_OFFSET_BITS=64 |
| | | CFLAGS += $(CFLAGS.$(BITS)) |
| | |
| | | |
| | | CONFIGURE_OPTIONS += --disable-static |
| | | CONFIGURE_OPTIONS += --disable-gomp |
| | | CONFIGURE_OPTIONS += --with-lame |
| | | CONFIGURE_OPTIONS += --with-twolame |
| | | # Avoid dependencies on encumbered packages |
| | | CONFIGURE_OPTIONS += --without-lame |
| | | CONFIGURE_OPTIONS += --without-twolame |
| | | CONFIGURE_OPTIONS += --without-mad |
| | | CONFIGURE_OPTIONS += --disable-dl-amrwb |
| | | |
| | | # common targets |
| | | build: $(BUILD_32_and_64) |
| | | |
| | | install: $(INSTALL_32_and_64) |
| | | |
| | | test: $(NO_TESTS) |
| | | |
| | | # Auto-generated dependencies |
| | | REQUIRED_PACKAGES += audio/lame |
| | | REQUIRED_PACKAGES += audio/twolame |
| | | REQUIRED_PACKAGES += audio/wavpack |
| | | REQUIRED_PACKAGES += codec/flac |
| | | REQUIRED_PACKAGES += image/library/libpng16 |
| | | REQUIRED_PACKAGES += library/audio/libao |
| | | REQUIRED_PACKAGES += library/audio/pulseaudio |
| | | REQUIRED_PACKAGES += library/libogg |
| | | REQUIRED_PACKAGES += library/libsndfile |