wok-next view libmediainfo/receipt @ rev 19401
memtest: DOS shutdown (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 13:03:50 2016 +0200 (2016-09-03) |
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 }