wok-6.x annotate libmpeg2/receipt @ rev 13448
Add: claws-mail-gtkhtml2_viewer
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Oct 07 01:26:23 2012 +0200 (2012-10-07) |
parents | ca3a94ba488f |
children | 9b6bb1d6033f |
rev | line source |
---|---|
jozee@2943 | 1 # SliTaz package receipt. |
jozee@2943 | 2 |
jozee@2943 | 3 PACKAGE="libmpeg2" |
jozee@2943 | 4 VERSION="0.5.1" |
jozee@2943 | 5 CATEGORY="multimedia" |
jozee@2943 | 6 SHORT_DESC="library for decoding MPEG-1 and MPEG-2 video streams" |
jozee@2943 | 7 MAINTAINER="jozee@slitaz.org" |
pankso@3425 | 8 DEPENDS="libsdl xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ |
pascal@2964 | 9 xorg-libXdmcp xorg-libXext xorg-libXv" |
pascal@10512 | 10 BUILD_DEPENDS="glibc-base xorg-libXv-dev" |
jozee@2943 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2943 | 12 WEB_SITE="http://libmpeg2.sourceforge.net/" |
jozee@2943 | 13 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@2943 | 14 TAGS="mpeg-1 mpeg-2 decode" |
jozee@2943 | 15 |
jozee@2943 | 16 # Rules to configure and make the package. |
jozee@2943 | 17 compile_rules() |
jozee@2943 | 18 { |
jozee@2943 | 19 cd $src |
gokhlayeh@11573 | 20 ./configure --prefix=/usr --enable-shared --disable-static \ |
gokhlayeh@11573 | 21 $CONFIGURE_ARGS && |
pascal@2964 | 22 make && |
pascal@10512 | 23 make DESTDIR=$DESTDIR install |
jozee@2943 | 24 } |
jozee@2943 | 25 |
jozee@2943 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2943 | 27 genpkg_rules() |
jozee@2943 | 28 { |
gokhlayeh@11573 | 29 mkdir -p $fs/usr/lib |
jozee@2943 | 30 cp -a $_pkg/usr/bin $fs/usr |
jozee@2943 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/ |
jozee@2943 | 32 } |