Mercurial > mxe-octave
changeset 2584:8ee32fa10c89
new package librtmp
author | Matthias Gehre <M.Gehre@gmx.de> |
---|---|
date | Tue, 22 May 2012 23:08:41 +0300 |
parents | c4cd2fe180e4 |
children | 42c0a3b89b06 |
files | index.html src/librtmp.mk |
diffstat | 2 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/index.html Tue Jun 12 23:07:46 2012 +0200 +++ b/index.html Tue May 22 23:08:41 2012 +0300 @@ -1492,6 +1492,11 @@ <td id="librsvg-package">librsvg</td> <td id="librsvg-version">2.36.1</td> <td id="librsvg-website"><a href="http://librsvg.sourceforge.net/">librsvg</a></td> + </tr> + <tr> + <td id="librtmp-package">librtmp</td> + <td id="librtmp-version">2.3</td> + <td id="librtmp-website"><a href="http://rtmpdump.mplayerhq.hu/">librtmp</a></td> </tr> <tr> <td id="libsamplerate-package">libsamplerate</td>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/librtmp.mk Tue May 22 23:08:41 2012 +0300 @@ -0,0 +1,21 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := librtmp +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := b65ce7708ae79adb51d1f43dd0b6d987076d7c42 +$(PKG)_SUBDIR := rtmpdump-$($(PKG)_VERSION) +$(PKG)_FILE := rtmpdump-$($(PKG)_VERSION).tgz +$(PKG)_URL := http://rtmpdump.mplayerhq.hu/download/$($(PKG)_FILE) +$(PKG)_DEPS := gcc openssl + +define $(PKG)_UPDATE + wget -q -O- 'http://rtmpdump.mplayerhq.hu/download/' | \ + $(SED) -n 's,.*rtmpdump-\([0-9.]*\)\.tgz.*,\1,ip' | \ + sort -r | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && make SYS=mingw CROSS_COMPILE='$(TARGET)-' prefix='$(PREFIX)/$(TARGET)' -j '$(JOBS)' install +endef