wok-next view libmediainfo/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 757d032c55c7 |
children | e19ff076dc63 |
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 BUILD_DEPENDS="cmake libzen-dev zlib-dev tinyxml2-dev curl-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 rm -r Project/MS* Project/zlib Source/ThirdParty/tinyxml2
20 cd Project/CMake
21 cmake \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_VERBOSE_MAKEFILE=ON \
25 -DBUILD_SHARED_LIBS=ON \
26 &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libmediainfo)
34 copy @std
35 DEPENDS="libcurl libzen tinyxml2 zlib"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="libmediainfo curl-dev libzen-dev zlib-dev"
40 ;;
41 esac
42 }