Commit 7de8efc5 authored by Rafaël Carré's avatar Rafaël Carré

extras/tools: add yasm

parent 314157be
......@@ -39,6 +39,7 @@ check libtool
check pkg-config
check xz
check cmake
check yasm
[ -n "$NEEDED" ] && mkdir -p build/
......
GNU=http://ftp.gnu.org/gnu
YASM_VERSION=1.2.0
#YASM_URL=$(CONTRIB_VIDEOLAN)/yasm-$(YASM_VERSION).tar.gz
YASM_URL=http://www.tortall.net/projects/yasm/releases/yasm-$(YASM_VERSION).tar.gz
CMAKE_VERSION=2.8.3
CMAKE_URL=http://www.cmake.org/files/v2.8/cmake-$(CMAKE_VERSION).tar.gz
......
......@@ -33,6 +33,23 @@ MOVE = mv $(UNPACK_DIR) $@ && touch $@
# package rules
#
# yasm
yasm-$(YASM_VERSION).tar.gz:
$(download) $(YASM_URL)
yasm: yasm-$(YASM_VERSION).tar.gz
$(UNPACK)
$(MOVE)
.yasm: yasm
(cd $<; ./configure --prefix=$(PREFIX) && make && make install)
touch $@
CLEAN_FILE += .yasm
CLEAN_PKG += yasm
DISTCLEAN_PKG += yasm-$(YASM_VERSION).tar.gz
# cmake
cmake-$(CMAKE_VERSION).tar.gz:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment