blob: 66fcc00e1db7ff9eee030048d828cfdbba95fd27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# This file is part of MXE.
# See index.html for further information.
PKG := taglib
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.10
$(PKG)_CHECKSUM := 24c32d50042cb0ddf162eb263f8ac75c5a158e12bf32ed534c1d5c71ee369baa
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://taglib.github.io/releases/$($(PKG)_FILE)
$(PKG)_DEPS := gcc zlib
define $(PKG)_UPDATE
$(call MXE_GET_GITHUB_TAGS, taglib/taglib, v)
endef
define $(PKG)_BUILD
mkdir '$(1)/build'
cd '$(1)/build' && cmake .. \
-DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
-DENABLE_STATIC=$(CMAKE_STATIC_BOOL)
$(MAKE) -C '$(1)/build' -j '$(JOBS)' install
endef
|