wok-current annotate libmpeg2/receipt @ rev 2943
Add: libmpeg2, libmpeg2-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu May 07 22:19:04 2009 +0000 (2009-05-07) |
parents | |
children | 968e7dabe578 |
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" |
jozee@2943 | 8 DEPENDS="" |
jozee@2943 | 9 BUILD_DEPENDS="glibc-base" |
jozee@2943 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2943 | 11 WEB_SITE="http://libmpeg2.sourceforge.net/" |
jozee@2943 | 12 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@2943 | 13 TAGS="mpeg-1 mpeg-2 decode" |
jozee@2943 | 14 |
jozee@2943 | 15 # Rules to configure and make the package. |
jozee@2943 | 16 compile_rules() |
jozee@2943 | 17 { |
jozee@2943 | 18 cd $src |
jozee@2943 | 19 ./configure --prefix=/usr --enable-shared --disable-static && |
jozee@2943 | 20 make && |
jozee@2943 | 21 make DESTDIR=$PWD/_pkg install |
jozee@2943 | 22 } |
jozee@2943 | 23 |
jozee@2943 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2943 | 25 genpkg_rules() |
jozee@2943 | 26 { |
jozee@2943 | 27 mkdir -p $fs/usr/lib |
jozee@2943 | 28 cp -a $_pkg/usr/bin $fs/usr |
jozee@2943 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/ |
jozee@2943 | 30 } |