Mercurial > mxe-octave
comparison src/of-video.mk @ 4073:03ed5810b068
of-video: add video package
* src/of-video.mk: new file
* src/of-video-1-fixes.patch: new file
* Makefile.in: add of-video to forge packages
* index.html: add of-video package
author | John Donoghue |
---|---|
date | Wed, 06 Jan 2016 15:59:32 -0500 |
parents | |
children | ab391f476b81 |
comparison
equal
deleted
inserted
replaced
4072:cdd86fbae296 | 4073:03ed5810b068 |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := of-video | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 1.2.1 | |
7 $(PKG)_CHECKSUM := dbefd278e272fcd9a79d2edc4b00df37735b103a | |
8 $(PKG)_REMOTE_SUBDIR := | |
9 $(PKG)_SUBDIR := video-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz | |
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' | |
12 $(PKG)_DEPS := ffmpeg | |
13 | |
14 | |
15 ifeq ($(MXE_SYSTEM),mingw) | |
16 $(PKG)_OPTIONS := ac_cv_func_realloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes | |
17 else | |
18 $(PKG)_OPTIONS := | |
19 endif | |
20 | |
21 define $(PKG)_UPDATE | |
22 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ | |
23 $(SED) -n 's,.*title="video-\([0-9][^"]*\).tar.gz".*,\1,p' | \ | |
24 head -1 | |
25 endef | |
26 | |
27 define $(PKG)_BUILD | |
28 $(call OCTAVE_FORGE_PKG_BUILD,$(1),$(2),$(3),$($(PKG)_OPTIONS)) | |
29 endef |