wok-next diff mlt/receipt @ rev 20663
Fix web site for the Shimmer Project themes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 22:58:32 2018 +0300 (2018-05-10) |
parents | bb009a6ef036 |
children | a3c581bf52b8 |
line diff
1.1 --- a/mlt/receipt Sat Nov 30 15:44:51 2013 +0000 1.2 +++ b/mlt/receipt Thu May 10 22:58:32 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="mlt" 1.8 VERSION="0.7.2" 1.9 @@ -7,32 +7,40 @@ 1.10 LICENSE="LGPL2.1" 1.11 SHORT_DESC="An open source multimedia framework" 1.12 WEB_SITE="http://www.mltframework.org" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 -TAGS="multimedia" 1.17 1.18 -DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ ffmpeg frei0r-plugins" 1.19 - 1.20 -# Rules to configure and make the package. 1.21 +SPLIT="mlt-dev" 1.22 1.23 compile_rules() { 1.24 - cd $src 1.25 - ./configure --prefix=/usr \ 1.26 - --enable-gpl \ 1.27 - --disable-mmx \ 1.28 - --qimage-libdir=/usr/lib/ \ 1.29 - --qimage-includedir=/usr/include/Qt \ 1.30 - --avformat-swscale && 1.31 - make && 1.32 - make install 1.33 + ./configure \ 1.34 + --prefix=/usr \ 1.35 + --enable-gpl \ 1.36 + --disable-mmx \ 1.37 + --qimage-libdir=/usr/lib/ \ 1.38 + --qimage-includedir=/usr/include/Qt \ 1.39 + --avformat-swscale && 1.40 + make && 1.41 + make install 1.42 } 1.43 - 1.44 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 -genpkg_rules() 1.46 -{ 1.47 - mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share 1.48 - cp -a $install/usr/bin $fs/usr 1.49 - cp -a $install/usr/lib/*so* $fs/usr/lib/ 1.50 - cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.51 - cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE 1.52 + 1.53 +genpkg_rules() { 1.54 + case $PACKAGE in 1.55 + mlt) 1.56 + mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share 1.57 + cp -a $install/usr/bin $fs/usr 1.58 + cp -a $install/usr/lib/*so* $fs/usr/lib/ 1.59 + cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.60 + cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE 1.61 + DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ \ 1.62 + ffmpeg frei0r-plugins" 1.63 + TAGS="multimedia" 1.64 + ;; 1.65 + *-dev) 1.66 + mkdir -p $fs/usr/lib 1.67 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.68 + cp -a $install/usr/include $fs/usr 1.69 + ;; 1.70 + esac 1.71 }