blob: 4e2e308f9e2ffc9538789b42a879302073acc392 (
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
27
28
29
|
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := id3lib
$(PKG)_WEBSITE := https://id3lib.sourceforge.io/
$(PKG)_IGNORE :=
$(PKG)_VERSION := 3.8.3
$(PKG)_CHECKSUM := 2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079
$(PKG)_SUBDIR := id3lib-$($(PKG)_VERSION)
$(PKG)_FILE := id3lib-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := cc zlib
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://sourceforge.net/projects/id3lib/files/id3lib/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && autoconf
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef
$(PKG)_BUILD_SHARED =
|