wok-6.x diff libmediainfo/receipt @ rev 22453

Update some $web_site for repology.org
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 26 11:54:32 2019 +0100 (2019-12-26)
parents
children 003193eab651
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libmediainfo/receipt	Thu Dec 26 11:54:32 2019 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libmediainfo"
     1.7 +VERSION="0.7.79"
     1.8 +CATEGORY="libs"
     1.9 +SHORT_DESC="Library reading metadata from media files"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="zlib/libpng"
    1.12 +WEB_SITE="http://mediaarea.net/"
    1.13 +TARBALL="${PACKAGE}_$VERSION.tar.xz"
    1.14 +WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libcurl libmms"
    1.17 +BUILD_DEPENDS="libzen libtool automake autoconf curl-dev libmms-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd Project/GNU/Library
    1.23 +	./autogen.sh
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--sysconfdir=/etc \
    1.27 +		--enable-shared \
    1.28 +		--enable-minimize-size \
    1.29 +		--with-libcurl \
    1.30 +		--with-libmms \
    1.31 +		$CONFIGURE_ARGS &&
    1.32 +	make && make install
    1.33 +
    1.34 +	mkdir -p $install/usr/bin
    1.35 +	cp -a libmediainfo-config $install/usr/bin
    1.36 +	sed -i -e "s|$src/Project/GNU/Library|/usr/lib|" -e 's|.libs||' \
    1.37 +		$install/usr/bin/libmediainfo-config
    1.38 +}
    1.39 +
    1.40 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 +genpkg_rules()
    1.42 +{
    1.43 +	mkdir -p $fs/usr/lib
    1.44 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.45 +}