wok-6.x view libsmpeg-dev/receipt @ rev 12798

ntop: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 10:52:43 2012 +0200 (2012-05-18)
parents a8ee7dba5728
children dbc73600f8cc
line source
1 # SliTaz package receipt.
3 PACKAGE="libsmpeg-dev"
4 VERSION="390"
5 CATEGORY="development"
6 SHORT_DESC="Mpeg decoding library devel files"
7 MAINTAINER="claudinei@slitaz.org"
8 WEB_SITE="http://icculus.org/smpeg"
9 DEPENDS="libsmpeg"
10 WANTED="libsmpeg"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share $fs/usr/include
16 cp $_pkg/usr/bin/smpeg-config $fs/usr/bin
17 chmod +x $fs/usr/bin/smpeg-config
18 cp -a $_pkg/usr/include/smpeg $fs/usr/include
19 cp -a $_pkg/usr/lib/*.a $fs/usr/lib
20 cp -a $_pkg/usr/share/aclocal $fs/usr/share
21 #fix aclocal warnings
22 sed -i "s#(AM_PATH_SMPEG#([AM_PATH_SMPEG]#" $fs/usr/share/aclocal/smpeg.m4
23 }