diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-05-11 17:22:13 (GMT) |
---|---|---|
committer | MXE <mxe@mxe.cc> | 2014-05-11 17:25:26 (GMT) |
commit | e08d2998099ecb7f1934d7c40292e3a4a55d45a8 (patch) | |
tree | 68581a11e8d79207732b7a8c286e696c3a55f765 | |
parent | 7e59569dcdb3f41dfed6cf9646526f7fc40e3db9 (diff) | |
download | mxe-e08d2998099ecb7f1934d7c40292e3a4a55d45a8.zip mxe-e08d2998099ecb7f1934d7c40292e3a4a55d45a8.tar.gz mxe-e08d2998099ecb7f1934d7c40292e3a4a55d45a8.tar.bz2 |
Add libdvbpsi package
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | src/libdvbpsi.mk | 26 |
2 files changed, 30 insertions, 0 deletions
@@ -1554,6 +1554,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre> <td class="website"><a href="http://libdnet.sourceforge.net/">libdnet</a></td> </tr> <tr> + <td class="package">libdvbpsi</td> + <td class="website"><a href="http://www.videolan.org/developers/libdvbpsi.html">libdvbpsi</a></td> + </tr> + <tr> <td class="package">libdvdcss</td> <td class="website"><a href="http://www.videolan.org/developers/libdvdcss.html">libdvdcss</a></td> </tr> diff --git a/src/libdvbpsi.mk b/src/libdvbpsi.mk new file mode 100644 index 0000000..5f360c6 --- /dev/null +++ b/src/libdvbpsi.mk @@ -0,0 +1,26 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := libdvbpsi +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.2.0 +$(PKG)_CHECKSUM := b918985f65e1d14bf19209b6b3def254c902901a +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2 +$(PKG)_URL := http://download.videolan.org/pub/libdvbpsi/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://www.videolan.org/developers/libdvbpsi.html' | \ + $(SED) -n 's,.*http://www.videolan.org/pub/libdvbpsi/\([0-9][^<]*\)/.*,\1,p' | \ + $(SORT) -Vr | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + $(MXE_CONFIGURE_OPTS) \ + --enable-release + $(MAKE) -C '$(1)' -j '$(JOBS)' SUBDIRS=src + $(MAKE) -C '$(1)' -j 1 install SUBDIRS=src +endef |