wok-4.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="libsmpeg-dev"
4 SOURCE="smpeg"
5 VERSION="389"
6 CATEGORY="development"
7 SHORT_DESC="Mpeg decoding library devel files"
8 MAINTAINER="claudinei@slitaz.org"
9 WEB_SITE="http://icculus.org/smpeg"
10 DEPENDS="libsdl"
11 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion"
12 WANTED="libsmpeg"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share $fs/usr/include
18 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
19 cp $_pkg/usr/bin/smpeg-config $fs/usr/bin
20 chmod +x $fs/usr/bin/smpeg-config
21 cp -a $_pkg/usr/include/smpeg $fs/usr/include
22 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
23 cp -a $_pkg/usr/share/aclocal $fs/usr/share
24 }