wok-next view libmediainfo/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
parents | |
children | 8940878905f3 |
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 }