mirror of https://git.wownero.com/dsc/mxe.git
27 lines
915 B
Makefile
27 lines
915 B
Makefile
# 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 := cc
|
|
|
|
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
|