diff options
author | Timothy Gu <timothygu99@gmail.com> | 2013-10-28 00:11:38 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2013-11-10 18:07:36 (GMT) |
commit | 4faed86b0521553de0d7b039028fa7044bb0ab71 (patch) | |
tree | 55c564622430b0edf1046c9ef08b35854baa1a88 /src/libdvdcss.mk | |
parent | 06afcb8bba439193921f862192703e9ea203aae5 (diff) | |
download | mxe-4faed86b0521553de0d7b039028fa7044bb0ab71.zip mxe-4faed86b0521553de0d7b039028fa7044bb0ab71.tar.gz mxe-4faed86b0521553de0d7b039028fa7044bb0ab71.tar.bz2 |
Add package libdvdcss
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/libdvdcss.mk')
-rw-r--r-- | src/libdvdcss.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/libdvdcss.mk b/src/libdvdcss.mk new file mode 100644 index 0000000..cf8f069 --- /dev/null +++ b/src/libdvdcss.mk @@ -0,0 +1,28 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := libdvdcss +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.2.13 +$(PKG)_CHECKSUM := 1a4a5e55c7529da46386c1c333340eee2c325a77 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2 +$(PKG)_URL := http://download.videolan.org/pub/libdvdcss/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://download.videolan.org/pub/libdvdcss/last/' | \ + $(SED) -n 's,.*libdvdcss-\([0-9][^<]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --build="`config.guess`" \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-shared \ + --disable-doc + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install +endef |