wok-next diff libdv/receipt @ rev 19829
Rename jack-audio-connection-kit -> jack; add jack2; up gst0-plugins-base, gst0-plugins-good, gst0-plugins-bad, gst0-plugins-full, and other gst0-plugins-* dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 04 16:04:04 2017 +0300 (2017-08-04) |
parents | 6c3718ca17b6 |
children | f4faceee705c |
line diff
1.1 --- a/libdv/receipt Sat Nov 09 17:34:23 2013 +0000 1.2 +++ b/libdv/receipt Fri Aug 04 16:04:04 2017 +0300 1.3 @@ -1,35 +1,40 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libdv" 1.8 VERSION="1.0.0" 1.9 CATEGORY="multimedia" 1.10 -SHORT_DESC="Software codec for DV video." 1.11 +SHORT_DESC="Software codec for DV video" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="LGPL2.1" 1.14 +WEB_SITE="http://libdv.sourceforge.net/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://libdv.sourceforge.net/" 1.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.19 1.20 -DEPENDS="popt xorg-libXv" 1.21 -BUILD_DEPENDS="gtk+-dev popt-dev xorg-libXv-dev" 1.22 +# With no effect on final binaries: xorg-libX11-dev xorg-libXt-dev libsdl-dev 1.23 +BUILD_DEPENDS="gfortran" 1.24 +SPLIT="libdv-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - cd $src 1.30 + # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libdv.html 1.31 ./configure \ 1.32 - --prefix=/usr \ 1.33 - --mandir=/usr/share/man \ 1.34 - $CONFIGURE_ARGS 1.35 - make 1.36 - make DESTDIR=$DESTDIR install 1.37 + --disable-xv \ 1.38 + --disable-static \ 1.39 + $CONFIGURE_ARGS && 1.40 + make && make install && 1.41 + 1.42 + docdir="$install/usr/share/doc/libdv-$VERSION" && 1.43 + mkdir -p $docdir && 1.44 + cp README* $docdir 1.45 } 1.46 1.47 # Rules to gen a SliTaz package suitable for Tazpkg. 1.48 genpkg_rules() 1.49 { 1.50 - mkdir -p $fs/usr/lib 1.51 - cp -a $install/usr/bin $fs/usr 1.52 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.53 + case $PACKAGE in 1.54 + libdv) copy @std;; 1.55 + *-dev) copy @dev;; 1.56 + esac 1.57 } 1.58 -