blob: fdf12dfa5fe051ca79e21575298a485c1794ff7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := libdvdcss
$(PKG)_WEBSITE := https://www.videolan.org/developers/libdvdcss.html
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.3.0
$(PKG)_CHECKSUM := 7c414acd520c4e4dd7267952f72d738ff50321a7869af4d75c65aefad44f1395
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2
$(PKG)_URL := https://download.videolan.org/pub/libdvdcss/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://download.videolan.org/pub/libdvdcss/' | \
$(SED) -n 's,.*<a href="\([0-9][^<]*\)/".*,\1,p' | \
$(SORT) -Vr | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--disable-doc
$(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_CRUFT)
$(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_CRUFT)
endef
|