wok-next view libmediainfo/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 9a78fd347e59
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libmediainfo"
4 VERSION="18.08.1"
5 CATEGORY="libs"
6 SHORT_DESC="Library reading metadata from media files"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://mediaarea.net/"
11 TARBALL="${PACKAGE}_$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL"
14 COOKOPTS="force-arch" # different .cmake
16 BUILD_DEPENDS="cmake libzen-dev zlib-dev tinyxml2-dev curl-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 rm -r Project/MS* Project/zlib Source/ThirdParty/tinyxml2
22 cd Project/CMake
23 cmake \
24 -DCMAKE_BUILD_TYPE=Release \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DCMAKE_VERBOSE_MAKEFILE=ON \
27 -DBUILD_SHARED_LIBS=ON \
28 &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libmediainfo)
36 copy @std
37 DEPENDS="libcurl libzen tinyxml2 zlib"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libmediainfo curl-dev libzen-dev zlib-dev"
42 ;;
43 esac
44 }