GARNAME = faad2 GARVERSION = 2.5 CATEGORIES = media MASTER_SITES = $(MASTER_SOURCEFORGE) MASTER_SUBDIR = faac/ DISTFILES = $(DISTNAME).tar.gz # Just disable the plugins; this package clearly isn't build-tested on Linux! PATCHFILES = no-plugins.diff LIBDEPS = media/libsndfile WORKSRC = $(WORKDIR)/faad2 DESCRIPTION = MPEG-4 audio decoder HOME_URL = http://www.audiocoding.com/ CONFIGURE_SCRIPTS = $(WORKSRC)/configure BUILD_SCRIPTS = $(WORKSRC)/Makefile INSTALL_SCRIPTS = $(WORKSRC)/Makefile-DESTDIR CONFIGURE_ARGS = $(DIRPATHS) include ../../gar.mk # Convert line endings in all of the text files. pre-configure: @find $(WORKSRC) -type f -not \( -name '*.pdf' -or -name '*.doc' \) -print0 | xargs -0 sed -i 's,\r,,g' @cd $(WORKSRC) && autoreconf -f -i $(MAKECOOKIE)