wok annotate libplayer/receipt @ rev 15140
brscan: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 11:35:33 2013 +0000 (2013-08-15) |
parents | f5809be05c82 |
children | 8d6f480bf664 |
rev | line source |
---|---|
pankso@4765 | 1 # SliTaz package receipt. |
pankso@4765 | 2 |
pankso@4765 | 3 PACKAGE="libplayer" |
gokhlayeh@9228 | 4 VERSION="2.0.1" |
jozee@4783 | 5 CATEGORY="multimedia" |
pankso@4765 | 6 SHORT_DESC="A multimedia A/V abstraction layer API." |
gokhlayeh@9228 | 7 DEPENDS="xine-lib mplayer" |
pankso@4765 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@4765 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4765 | 10 WEB_SITE="http://libplayer.geexbox.org/" |
pankso@4765 | 11 WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL" |
pankso@4765 | 12 |
pankso@4765 | 13 # Rules to configure and make the package. |
pankso@4765 | 14 compile_rules() |
pankso@4765 | 15 { |
pankso@4765 | 16 cd $src |
pascal@5162 | 17 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure |
gokhlayeh@9228 | 18 ./configure --prefix=/usr\ |
pankso@4765 | 19 --enable-mplayer \ |
pankso@4765 | 20 --disable-gstreamer \ |
pankso@4765 | 21 --disable-vlc && |
gokhlayeh@9228 | 22 make && make install |
pankso@4765 | 23 } |
pankso@4765 | 24 |
pankso@4765 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4765 | 26 genpkg_rules() |
pankso@4765 | 27 { |
pankso@4765 | 28 mkdir -p $fs/usr/lib |
pankso@4765 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4765 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@4765 | 31 } |