wok-next view libmediainfo/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 8940878905f3 |
children | 9a78fd347e59 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libmediainfo"
4 VERSION="0.7.79"
5 CATEGORY="libs"
6 SHORT_DESC="Library reading metadata from media files"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
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="libzen libtool automake autoconf curl-dev libmms-dev"
15 SPLIT="libmediainfo-dev"
17 compile_rules() {
18 cd Project/GNU/Library
19 ./autogen.sh
20 ./configure \
21 --enable-shared \
22 --enable-minimize-size \
23 --with-libcurl \
24 --with-libmms \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install || return 1
29 install -Dm755 libmediainfo-config $install/usr/bin/libmediainfo-config
30 sed \
31 -e "s|$src/Project/GNU/Library|/usr/lib|" \
32 -e 's|.libs||' \
33 -i $install/usr/bin/libmediainfo-config
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 libmediainfo)
39 copy @std
40 DEPENDS="libcurl libmms"
41 ;;
42 *-dev)
43 copy @dev
44 ;;
45 esac
46 }