wok-6.x annotate libplayer/receipt @ rev 4961
Fix enna issue 238 on lab(thanks ivan)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Feb 22 10:42:56 2010 +0000 (2010-02-22) |
parents | 568a128936bf |
children | 252a378d28c1 |
rev | line source |
---|---|
pankso@4765 | 1 # SliTaz package receipt. |
pankso@4765 | 2 |
pankso@4765 | 3 PACKAGE="libplayer" |
pankso@4765 | 4 VERSION="1.0.0" |
jozee@4783 | 5 CATEGORY="multimedia" |
pankso@4765 | 6 SHORT_DESC="A multimedia A/V abstraction layer API." |
pankso@4765 | 7 DEPENDS="xine-lib" |
pankso@4765 | 8 BUILD_DEPENDS="xine-lib-dev" |
jozee@4961 | 9 SUGGESTED="mplayer-svn" |
pankso@4765 | 10 MAINTAINER="pankso@slitaz.org" |
pankso@4765 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4765 | 12 WEB_SITE="http://libplayer.geexbox.org/" |
pankso@4765 | 13 WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL" |
pankso@4765 | 14 |
pankso@4765 | 15 # Rules to configure and make the package. |
pankso@4765 | 16 compile_rules() |
pankso@4765 | 17 { |
pankso@4765 | 18 cd $src |
pankso@4765 | 19 ./configure \ |
pankso@4765 | 20 --prefix=/usr \ |
pankso@4765 | 21 --enable-binding-python \ |
pankso@4765 | 22 --enable-mplayer \ |
pankso@4765 | 23 --disable-gstreamer \ |
pankso@4765 | 24 --disable-vlc && |
pankso@4765 | 25 make && make DESTDIR=$PWD/_pkg install |
pankso@4765 | 26 } |
pankso@4765 | 27 |
pankso@4765 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4765 | 29 genpkg_rules() |
pankso@4765 | 30 { |
pankso@4765 | 31 mkdir -p $fs/usr/lib |
pankso@4765 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4765 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@4765 | 34 } |