annotate src/of-video.mk @ 4253:32a7bea19bb1

msys-gzip: add .bat wrappers to shellscripts * tools/gen-bat-wrapper: new file * dist-files.mk: add gen-bat-wrapper * src/msys-gzip.mk: add find of shell script and create .bat file
author John D
date Mon, 21 Nov 2016 17:11:21 -0500
parents 3721c8061b7f
children a79cf7dd8623
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4073
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
1 # This file is part of MXE.
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
2 # See index.html for further information.
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
3
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
4 PKG := of-video
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
5 $(PKG)_IGNORE :=
4202
3721c8061b7f of-video: update to 1.2.3
John D
parents: 4083
diff changeset
6 $(PKG)_VERSION := 1.2.3
3721c8061b7f of-video: update to 1.2.3
John D
parents: 4083
diff changeset
7 $(PKG)_CHECKSUM := 364f6932194616ef1644d3e2421ffd9dfd2c90d0
4073
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
9 $(PKG)_SUBDIR := video-$($(PKG)_VERSION)
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
10 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
12 $(PKG)_DEPS := ffmpeg
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
13
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
14
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
15 ifeq ($(MXE_SYSTEM),mingw)
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
16 $(PKG)_OPTIONS := ac_cv_func_realloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
17 else
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
18 $(PKG)_OPTIONS :=
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
19 endif
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
20
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
21 define $(PKG)_UPDATE
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
22 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
23 $(SED) -n 's,.*title="video-\([0-9][^"]*\).tar.gz".*,\1,p' | \
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
24 head -1
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
25 endef
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
26
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
27 define $(PKG)_BUILD
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
28 $(call OCTAVE_FORGE_PKG_BUILD,$(1),$(2),$(3),$($(PKG)_OPTIONS))
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
29 endef