wok-6.x view libsmpeg-dev/receipt @ rev 7474
Up: virtualbox-ose to 3.2.12.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Dec 01 19:07:06 2010 +0000 (2010-12-01) |
parents | 17066ba98354 |
children | 30506fc48f40 |
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="libsmpeg"
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 #fix aclocal warnings
25 sed -i "s#(AM_PATH_SMPEG#([AM_PATH_SMPEG]#" $fs/usr/share/aclocal/smpeg.m4
26 }