wok view libmediainfo/receipt @ rev 21042

updated icoutils (0.30.0 -> 0.32.3)
author Hans-G?nter Theisgen
date Tue Mar 12 13:53:02 2019 +0100 (2019-03-12)
parents
children 003193eab651
line source
1 # SliTaz package receipt.
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/"
10 TARBALL="${PACKAGE}_$VERSION.tar.xz"
11 WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="libcurl libmms"
14 BUILD_DEPENDS="libzen libtool automake autoconf curl-dev libmms-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd Project/GNU/Library
20 ./autogen.sh
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --enable-shared \
25 --enable-minimize-size \
26 --with-libcurl \
27 --with-libmms \
28 $CONFIGURE_ARGS &&
29 make && make install
31 mkdir -p $install/usr/bin
32 cp -a libmediainfo-config $install/usr/bin
33 sed -i -e "s|$src/Project/GNU/Library|/usr/lib|" -e 's|.libs||' \
34 $install/usr/bin/libmediainfo-config
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }