From 6ea1294c64eb3d674b65c8d475d001706509b263 Mon Sep 17 00:00:00 2001 From: Matthias Gehre Date: Tue, 22 May 2012 23:08:41 +0300 Subject: new package librtmp --- index.html | 5 +++++ src/librtmp.mk | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 src/librtmp.mk diff --git a/index.html b/index.html index 74806ae..1150720 100644 --- a/index.html +++ b/index.html @@ -1492,6 +1492,11 @@ USE_OSGPLUGIN(<plugin2>) librsvg 2.36.1 librsvg + + + librtmp + 2.3 + librtmp libsamplerate diff --git a/src/librtmp.mk b/src/librtmp.mk new file mode 100644 index 0000000..dcea836 --- /dev/null +++ b/src/librtmp.mk @@ -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 -- cgit v0.12