wok-current view libmediainfo/receipt @ rev 23974

Up openvpn (2.5.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 28 15:17:00 2020 +0000 (2020-10-28)
parents 1ea9701ce3ca
children ede1d184d5c5
line source
1 # SliTaz package receipt.
3 PACKAGE="libmediainfo"
4 VERSION="19.09"
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="https://mediaarea.net/"
11 TARBALL="${PACKAGE}_$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="libcurl libmms"
15 BUILD_DEPENDS="autoconf automake curl-dev libmms-dev libtool libzen"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd Project/GNU/Library
21 ./autogen.sh &&
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --enable-shared \
26 --enable-minimize-size \
27 --with-libcurl \
28 --with-libmms \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
33 mkdir -p $install/usr/bin
34 cp -a libmediainfo-config $install/usr/bin
35 sed -i -e "s|$src/Project/GNU/Library|/usr/lib|" \
36 -e 's|.libs||' \
37 $install/usr/bin/libmediainfo-config
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }