wok-4.x annotate libplayer/receipt @ rev 5717
gtkdatabox: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 24 12:15:42 2010 +0200 (2010-06-24) |
parents | 55cde812bbe6 |
children | b04ef0c092dc |
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 |
pascal@5162 | 19 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure |
pankso@4765 | 20 ./configure \ |
pankso@4765 | 21 --prefix=/usr \ |
pankso@4765 | 22 --enable-binding-python \ |
pankso@4765 | 23 --enable-mplayer \ |
pankso@4765 | 24 --disable-gstreamer \ |
pankso@4765 | 25 --disable-vlc && |
pankso@4765 | 26 make && make DESTDIR=$PWD/_pkg install |
pankso@4765 | 27 } |
pankso@4765 | 28 |
pankso@4765 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4765 | 30 genpkg_rules() |
pankso@4765 | 31 { |
pankso@4765 | 32 mkdir -p $fs/usr/lib |
pankso@4765 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4765 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@4765 | 35 } |