wok annotate libmpeg2/receipt @ rev 17864
Up: netsurf (3.3)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 25 16:55:26 2015 +0200 (2015-03-25) |
parents | 9b6bb1d6033f |
children | 370da83187ab |
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" |
pascal@14714 | 8 LICENSE="GPL2" |
jozee@2943 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2943 | 10 WEB_SITE="http://libmpeg2.sourceforge.net/" |
jozee@2943 | 11 WGET_URL="$WEB_SITE/files/$TARBALL" |
pascal@14528 | 12 TAGS="mpeg-1 mpeg-2 decoder" |
jozee@2943 | 13 |
pascal@14714 | 14 DEPENDS="libsdl xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ |
pascal@14714 | 15 xorg-libXdmcp xorg-libXext xorg-libXv" |
pascal@14714 | 16 BUILD_DEPENDS="glibc-base xorg-libXv-dev" |
pascal@14714 | 17 |
jozee@2943 | 18 # Rules to configure and make the package. |
jozee@2943 | 19 compile_rules() |
jozee@2943 | 20 { |
jozee@2943 | 21 cd $src |
gokhlayeh@11573 | 22 ./configure --prefix=/usr --enable-shared --disable-static \ |
gokhlayeh@11573 | 23 $CONFIGURE_ARGS && |
pascal@2964 | 24 make && |
pascal@10512 | 25 make DESTDIR=$DESTDIR install |
jozee@2943 | 26 } |
jozee@2943 | 27 |
jozee@2943 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2943 | 29 genpkg_rules() |
jozee@2943 | 30 { |
gokhlayeh@11573 | 31 mkdir -p $fs/usr/lib |
pascal@14714 | 32 cp -a $install/usr/bin $fs/usr |
pascal@14714 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
jozee@2943 | 34 } |