wok-6.x annotate libquicktime/receipt @ rev 8301

Fix: shared-mime-info now take care of --root= option
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 01 02:50:01 2011 +0100 (2011-02-01)
parents 4130b89679fd
children d1768332cee0
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@6864 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 \
jozee@6830 23 --without-doxygen &&
jozee@6830 24 make &&
jozee@6830 25 make DESTDIR=$PWD/_pkg install
jozee@6830 26 }
jozee@6830 27
jozee@6830 28 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6830 29 genpkg_rules()
jozee@6830 30 {
jozee@6830 31 mkdir -p $fs/usr/lib/$PACKAGE
jozee@6830 32 cp -a $_pkg/usr/bin $fs/usr
jozee@6830 33 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
jozee@6830 34 cp -a $_pkg/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
jozee@6830 35 }