Mercurial > mxe-octave
view src/lame.mk @ 2863:54464afe91f3
Build shared version of ncurses library by converting static library.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 16 Nov 2012 12:55:45 -0500 |
parents | 47558e958113 |
children | 100e618349f7 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := lame $(PKG)_IGNORE := $(PKG)_CHECKSUM := 91dfd25bedc02759051a6b3af05e61337a575028 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/lame/files/lame/' | \ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --host='$(TARGET)' \ --build="`config.guess`" \ --prefix='$(PREFIX)/$(TARGET)' \ $(ENABLE_SHARED_OR_STATIC) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install endef