wok annotate libsmpeg/receipt @ rev 3750
Add: usbutils-dev
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 23 14:23:00 2009 +0000 (2009-07-23) |
parents | 9886ef43f57a |
children | d983e90f942d |
rev | line source |
---|---|
claudinei@3338 | 1 # SliTaz package receipt. |
claudinei@3338 | 2 |
claudinei@3338 | 3 PACKAGE="libsmpeg" |
claudinei@3338 | 4 SOURCE="smpeg" |
claudinei@3338 | 5 VERSION="380" |
claudinei@3338 | 6 CATEGORY="development" |
claudinei@3338 | 7 SHORT_DESC="Mpeg decoding library" |
claudinei@3338 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3338 | 9 WEB_SITE="http://icculus.org/smpeg" |
pankso@3425 | 10 DEPENDS="libsdl" |
pankso@3425 | 11 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion" |
claudinei@3338 | 12 |
claudinei@3338 | 13 |
claudinei@3338 | 14 # Rules to configure and make the package. |
claudinei@3338 | 15 compile_rules() |
claudinei@3338 | 16 { |
claudinei@3338 | 17 [ -d "$SOURCE-$VERSION" ] && rm -rf $SOURCE-$VERSION |
claudinei@3338 | 18 svn co svn://svn.icculus.org/$SOURCE/trunk \ |
claudinei@3338 | 19 -r $VERSION $SOURCE-$VERSION |
claudinei@3338 | 20 cd $src |
claudinei@3338 | 21 chmod +x install-sh |
claudinei@3338 | 22 ./autogen.sh |
claudinei@3338 | 23 ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS && |
claudinei@3338 | 24 make && |
claudinei@3338 | 25 make DESTDIR=$PWD/_pkg install |
claudinei@3338 | 26 } |
claudinei@3338 | 27 |
claudinei@3338 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3338 | 29 genpkg_rules() |
claudinei@3338 | 30 { |
claudinei@3338 | 31 mkdir -p $fs/usr/lib |
claudinei@3338 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
claudinei@3338 | 33 |
claudinei@3338 | 34 } |