wok-next diff libmediainfo/receipt @ rev 19261

Up viewnior (1.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jul 03 15:19:37 2016 +0300 (2016-07-03)
parents
children 8940878905f3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libmediainfo/receipt	Sun Jul 03 15:19:37 2016 +0300
     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 +}