wok-6.x annotate libplayer/receipt @ rev 15611

cifs-utils: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 07 14:51:10 2013 +0000 (2013-12-07)
parents e86c02421165
children 68f00cd672fd
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"
pascal@15482 9 LICENSE="LGPL2.1"
pankso@4765 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4765 11 WEB_SITE="http://libplayer.geexbox.org/"
pankso@4765 12 WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL"
pankso@4765 13
pankso@4765 14 # Rules to configure and make the package.
pankso@4765 15 compile_rules()
pankso@4765 16 {
pankso@4765 17 cd $src
pascal@5162 18 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
gokhlayeh@9228 19 ./configure --prefix=/usr\
pankso@4765 20 --enable-mplayer \
pankso@4765 21 --disable-gstreamer \
pankso@4765 22 --disable-vlc &&
gokhlayeh@9228 23 make && make install
pankso@4765 24 }
pankso@4765 25
pankso@4765 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4765 27 genpkg_rules()
pankso@4765 28 {
pankso@4765 29 mkdir -p $fs/usr/lib
pascal@15482 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15482 31 cp -a $install/usr/bin $fs/usr
pankso@4765 32 }