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

Added linux-module-headers to lirc build depends. Doesn't need linux-source package anymore to compile.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 18 17:36:33 2010 +0000 (2010-10-18)
parents d983e90f942d
children ea3c91682de8
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 #fix aclocal warnings
25 sed -i "s#(AM_PATH_SMPEG#([AM_PATH_SMPEG]#" $fs/usr/share/aclocal/smpeg.m4
26 }