libmpeg2: fix homepage, tabs, use HTTPS

pull/2410/head
Viktor Szakats 5 years ago committed by Tony Theodore
parent 08bf926415
commit e9506eeaad

@ -1,18 +1,18 @@
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := libmpeg2
$(PKG)_WEBSITE := https://plib.sourceforge.io/
$(PKG)_WEBSITE := https://libmpeg2.sourceforge.io/
$(PKG)_DESCR := libmpeg2 - a free MPEG-2 video stream decoder
$(PKG)_IGNORE :=
$(PKG)_VERSION := 0.5.1
$(PKG)_CHECKSUM := dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://libmpeg2.sourceforge.net/files/$($(PKG)_FILE)
$(PKG)_URL := https://libmpeg2.sourceforge.io/files/$($(PKG)_FILE)
$(PKG)_DEPS := cc
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://libmpeg2.sourceforge.net/downloads.html' | \
$(WGET) -q -O- 'https://libmpeg2.sourceforge.io/downloads.html' | \
$(SED) -n 's,.*files/libmpeg2-\([0-9][^"]*\)\.tar.*,\1,p' | \
head -1
endef
@ -28,7 +28,7 @@ define $(PKG)_BUILD
# compile test (sample1.c included with libmpeg2)
'$(TARGET)-gcc' \
-W -Wall -ansi -pedantic \
'$(SOURCE_DIR)/doc/sample1.c' -o '$(PREFIX)/$(TARGET)/bin/test-libmpeg2.exe' \
`'$(TARGET)-pkg-config' --cflags --libs libmpeg2`
-W -Wall -ansi -pedantic \
'$(SOURCE_DIR)/doc/sample1.c' -o '$(PREFIX)/$(TARGET)/bin/test-libmpeg2.exe' \
`'$(TARGET)-pkg-config' --cflags --libs libmpeg2`
endef

Loading…
Cancel
Save