wok-6.x annotate gxine/receipt @ rev 13299

dukto: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 28 14:08:54 2012 +0200 (2012-08-28)
parents 9f19aee613be
children 8b711bcd4b29
rev   line source
jozee@3121 1 # SliTaz package receipt.
jozee@3121 2
jozee@3121 3 PACKAGE="gxine"
slaxemulator@6322 4 VERSION="0.5.905"
jozee@3121 5 CATEGORY="multimedia"
jozee@3121 6 SHORT_DESC="GTK+ Xine media player user interface."
jozee@3121 7 MAINTAINER="jozee@slitaz.org"
pascal@5001 8 DEPENDS="xine-lib libvorbis gtk+ spidermonkey hal"
pankso@3429 9 BUILD_DEPENDS="spidermonkey-dev spidermonkey xine-lib xine-lib-dev xorg-dev \
slaxemulator@6322 10 gtk+-dev hal dbus xorg-libXinerama xorg-libXext xorg-libX11 xorg-xextproto perl"
jozee@3121 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@3121 12 WEB_SITE="http://www.xine-project.org"
jozee@3121 13 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
jozee@3121 14
jozee@3121 15 # Rules to configure and make the package.
jozee@3121 16
jozee@3121 17 compile_rules()
jozee@3121 18 {
jozee@3121 19 cd $src
jozee@3123 20 ./configure --prefix=/usr \
jozee@3121 21 --mandir=/usr/share/man \
jozee@3121 22 --sysconfdir=/etc \
jozee@3121 23 --with-spidermonkey=/usr/include/js \
jozee@3121 24 --without-browser-plugin \
jozee@3121 25 --disable-lirc \
jozee@3121 26 --disable-integration-wizard \
jozee@3121 27 $CONFIGURE_ARGS &&
jozee@3121 28 make &&
jozee@3121 29 make DESTDIR=$PWD/_pkg install
jozee@3121 30 }
jozee@3121 31
jozee@3121 32 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3121 33 genpkg_rules()
jozee@3121 34 {
jozee@3121 35 mkdir -p $fs/usr/share $fs/etc $fs/usr/lib
jozee@3121 36 cp -a $_pkg/usr/bin $fs/usr
jozee@3121 37 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
jozee@3121 38 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
jozee@3121 39 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
jozee@3121 40 cp -a $_pkg/etc $fs
jozee@3121 41 }
jozee@3121 42