wok-4.x annotate libsmpeg-dev/receipt @ rev 6117

fbida: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 05 10:08:04 2010 +0200 (2010-09-05)
parents e8024c01fc47
children 17066ba98354
rev   line source
claudinei@3338 1 # SliTaz package receipt.
claudinei@3338 2
claudinei@3338 3 PACKAGE="libsmpeg-dev"
claudinei@3338 4 SOURCE="smpeg"
claudinei@4686 5 VERSION="389"
claudinei@3338 6 CATEGORY="development"
claudinei@3338 7 SHORT_DESC="Mpeg decoding library devel files"
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 WANTED="libsmpeg"
claudinei@3338 13
claudinei@3338 14 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3338 15 genpkg_rules()
claudinei@3338 16 {
claudinei@3338 17 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share $fs/usr/include
claudinei@3338 18 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
claudinei@3338 19 cp $_pkg/usr/bin/smpeg-config $fs/usr/bin
claudinei@3338 20 chmod +x $fs/usr/bin/smpeg-config
claudinei@3338 21 cp -a $_pkg/usr/include/smpeg $fs/usr/include
claudinei@3338 22 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
claudinei@3338 23 cp -a $_pkg/usr/share/aclocal $fs/usr/share
claudinei@3338 24 }
claudinei@3338 25