wok-current annotate libquicktime/receipt @ rev 11573

Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:18 2012 +0100 (2012-01-02)
parents d1768332cee0
children 6ad7fec1c8d0
rev   line source
jozee@6830 1 # SliTaz package receipt.
jozee@6830 2
jozee@6830 3 PACKAGE="libquicktime"
jozee@6830 4 VERSION="1.1.5"
jozee@6830 5 CATEGORY="multimedia"
jozee@6830 6 MAINTAINER="jozee@slitaz.org"
jozee@6830 7 SHORT_DESC="A library for reading and writing quicktime files."
jozee@6830 8 WEB_SITE="http://libquicktime.sourceforge.net/"
slaxemulator@6864 9 DEPENDS="gtk+ ffmpeg alsa-lib xorg-libXv mesa xorg-libXaw x264"
slaxemulator@6864 10 BUILD_DEPENDS="gtk+-dev ffmpeg-dev alsa-lib-dev xorg-libXv-dev xorg-libXaw-dev x264-dev zlib-dev mesa-dev"
jozee@6830 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@6830 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@6830 13
jozee@6830 14 # Rules to configure and make the package.
jozee@6830 15
jozee@6830 16 compile_rules() {
jozee@6830 17 cd $src
slaxemulator@9700 18 patch -Np1 -i $stuff/gtk22.patch
jozee@6830 19 ./configure --prefix=/usr \
jozee@6830 20 --enable-gpl \
jozee@6830 21 --with-ffmpeg \
jozee@6830 22 --with-x264 \
gokhlayeh@11573 23 --without-doxygen \
gokhlayeh@11573 24 $CONFIGURE_ARGS &&
jozee@6830 25 make &&
jozee@6830 26 make DESTDIR=$PWD/_pkg install
jozee@6830 27 }
jozee@6830 28
jozee@6830 29 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6830 30 genpkg_rules()
jozee@6830 31 {
jozee@6830 32 mkdir -p $fs/usr/lib/$PACKAGE
jozee@6830 33 cp -a $_pkg/usr/bin $fs/usr
jozee@6830 34 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
jozee@6830 35 cp -a $_pkg/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
jozee@6830 36 }