wok annotate mlt/receipt @ rev 8746
Add perl-class-accessor
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 19 18:29:48 2011 +0000 (2011-02-19) |
parents | b97a6a2e419a |
children | 545a43737e35 |
rev | line source |
---|---|
jozee@6826 | 1 # SliTaz package receipt. |
jozee@6826 | 2 |
jozee@6826 | 3 PACKAGE="mlt" |
slaxemulator@7956 | 4 VERSION="0.6.0" |
jozee@6826 | 5 CATEGORY="multimedia" |
jozee@6826 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@6826 | 7 SHORT_DESC="An open source multimedia framework" |
jozee@6826 | 8 WEB_SITE="http://www.mltframework.org" |
slaxemulator@8528 | 9 DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ ffmpeg-svn frei0r-plugins" |
jozee@6826 | 10 BUILD_DEPENDS="libsamplerate-dev libdv-dev sox-dev Qt4-dev libxml2-dev gtk+-dev ffmpeg-svn-dev libsdl-image-dev frei0r-plugins-dev" |
jozee@6826 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@6826 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@6826 | 13 TAGS="multimedia" |
jozee@6826 | 14 |
jozee@6826 | 15 # Rules to configure and make the package. |
jozee@6826 | 16 |
jozee@6826 | 17 compile_rules() { |
jozee@6826 | 18 cd $src |
jozee@6826 | 19 ./configure --prefix=/usr \ |
jozee@6826 | 20 --enable-gpl \ |
jozee@6826 | 21 --disable-mmx \ |
jozee@6826 | 22 --qimage-libdir=/usr/lib/ \ |
jozee@6826 | 23 --qimage-includedir=/usr/include/Qt \ |
jozee@6826 | 24 --avformat-swscale && |
jozee@6826 | 25 make && |
jozee@6826 | 26 make DESTDIR=$PWD/_pkg install |
jozee@6826 | 27 } |
jozee@6826 | 28 |
jozee@6826 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6826 | 30 genpkg_rules() |
jozee@6826 | 31 { |
jozee@6826 | 32 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share |
jozee@6826 | 33 cp -a $_pkg/usr/bin $fs/usr |
jozee@6826 | 34 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ |
jozee@6826 | 35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@6826 | 36 cp -a $_pkg/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE |
jozee@6826 | 37 |
jozee@6826 | 38 } |